← Back to team overview

yahoo-eng-team team mailing list archive

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

 

The behavior is consistent with the design. This is one of the drivers
why --size was set read only for v2 api. We should not change the v1
behavior at state when we are trying to deprecate it.

** Changed in: glance
       Status: Incomplete => Won't Fix

-- 
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):
  Won't Fix

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


References