← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1315032] [NEW] when using --size after image is created, the size shown is the image actual size

 

Public bug reported:

when I create an image using --size, while image is in status saving we
see the requested size but after images is created we see the image's
actual size:

during saving:

[root@orange-vdsf images(keystone_admin)]# glance image-list --human
+--------------------------------------+-------------+-------------+------------------+---------+--------+
| ID                                   | Name        | Disk Format | Container Format | Size    | Status |
+--------------------------------------+-------------+-------------+------------------+---------+--------+
| 292c11dd-a16b-46a0-b176-d665293273b3 | dafna_zise1 | qcow2       | bare             | 19.5MB  | saving |


after image was saved: 

[root@orange-vdsf images(keystone_admin)]# glance image-list --human
+--------------------------------------+-------------+-------------+------------------+---------+--------+
| ID                                   | Name        | Disk Format | Container Format | Size    | Status |
+--------------------------------------+-------------+-------------+------------------+---------+--------+
| 292c11dd-a16b-46a0-b176-d665293273b3 | dafna_zise1 | qcow2       | bare             | 6GB     | active |

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1315032

Title:
  when using --size after image is created, the size shown is the image
  actual size

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  when I create an image using --size, while image is in status saving
  we see the requested size but after images is created we see the
  image's actual size:

  during saving:

  [root@orange-vdsf images(keystone_admin)]# glance image-list --human
  +--------------------------------------+-------------+-------------+------------------+---------+--------+
  | ID                                   | Name        | Disk Format | Container Format | Size    | Status |
  +--------------------------------------+-------------+-------------+------------------+---------+--------+
  | 292c11dd-a16b-46a0-b176-d665293273b3 | dafna_zise1 | qcow2       | bare             | 19.5MB  | saving |

  
  after image was saved: 

  [root@orange-vdsf images(keystone_admin)]# glance image-list --human
  +--------------------------------------+-------------+-------------+------------------+---------+--------+
  | ID                                   | Name        | Disk Format | Container Format | Size    | Status |
  +--------------------------------------+-------------+-------------+------------------+---------+--------+
  | 292c11dd-a16b-46a0-b176-d665293273b3 | dafna_zise1 | qcow2       | bare             | 6GB     | active |

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1315032/+subscriptions


Follow ups

References