yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14376
[Bug 1171677] Re: image status='active' but size=0 after registration
closing due to age and essex version
** Changed in: glance
Status: New => 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/1171677
Title:
image status='active' but size=0 after registration
Status in OpenStack Image Registry and Delivery Service (Glance):
Won't Fix
Bug description:
version essex
we use "glance add ... location=http://a_host/an_image" to register an
image to glance. if the image store host ("a_host" in this example) is
unavailable during the registration, then the image is 'active', but
its size is set to 0 in the database table glance.images.
this may cause issues when using such images to create VMs (assuming
"a_host" in the above example is available during the processing of
this VM creation command). note that if the size of the image is 0 in
DB glance.images, then one can create a VM with an image whose real
size surpasses the max-allowed size of a flavor (the image size
checking related to the "root_gb" constraint imposed by the flavor
parameter is effectively bypassed in this case).
should nova check this case and avoid using images whose size is 0 to
create VMs? or should the size of images be set to some other value in
this case to indicate the exceptional situation (i.e., the
unavailability of the image store host)?
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1171677/+subscriptions