← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1260738] Re: image is creating with option size= a negative number

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => icehouse-2

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

Title:
  image is creating with option size= a negative number

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

Bug description:
  I just try to create an image by giving size =-1
  and the image is creating succesfully. 


   glance image-create --name cirros --is-public true --container-format
  bare --disk-format qcow2 --location
  https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk
  --size -1


  +------------------+--------------------------------------+
  | Property         | Value                                |
  +------------------+--------------------------------------+
  | checksum         | None                                 |
  | container_format | bare                                 |
  | created_at       | 2013-12-13T13:48:07                  |
  | deleted          | False                                |
  | deleted_at       | None                                 |
  | disk_format      | qcow2                                |
  | id               | 2da4e4f9-5f1a-4c8d-a67c-272588e2efbc |
  | is_public        | True                                 |
  | min_disk         | 0                                    |
  | min_ram          | 0                                    |
  | name             | cirros                               |
  | owner            | 6a2db75adb964c5b84010fa22b464715     |
  | protected        | False                                |
  | size             | -1                                   |
  | status           | active                               |
  | updated_at       | 2013-12-13T13:48:38                  |
  +------------------+--------------------------------------+

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


References