Transition image status to active immediately on creation
(as opposed to leaving it queued forever) if the size is set
to zero from the get-go.
This change allows an image to be created that simply acts as
a properties bucket, but requires no image data. For example,
an image created from a booted-from-volume instance where only
the kernel, ramdisk ID, and block device mappings are required.
Reviewed: https:/ /review. openstack. org/10238 github. com/openstack/ glance/ commit/ 55cf240cad2b524 97cd8dc67f0e68c a7bd2dd9ae
Committed: http://
Submitter: Jenkins
Branch: stable/essex
commit 55cf240cad2b524 97cd8dc67f0e68c a7bd2dd9ae
Author: Eoghan Glynn <email address hidden>
Date: Thu Jul 12 15:04:22 2012 +0100
Support zero-size image creation via the v1 API
Addresses LP 1025353 for the v1 API.
Transition image status to active immediately on creation
(as opposed to leaving it queued forever) if the size is set
to zero from the get-go.
This change allows an image to be created that simply acts as
a properties bucket, but requires no image data. For example,
an image created from a booted-from-volume instance where only
the kernel, ramdisk ID, and block device mappings are required.
Change-Id: I61e96f3fe5f524 5fec791170b4a8b 4c72135c3de