yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03478
[Bug 1124224] Re: Glance V1 API documentation inaccuracy
** Changed in: glance
Status: Fix Committed => Fix Released
** Changed in: glance
Milestone: None => havana-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/1124224
Title:
Glance V1 API documentation inaccuracy
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
According to the V1 Glance API docs at
http://docs.openstack.org/developer/glance/glanceapi.html#add-a-new-
image if I am adding a new image the headers 'x-image-meta-
disk_format' and 'x-image-meta-container_format' are optional. However
using the latest glance devstack environment an attempt to create a
new image will fail if I do not specify these headers.
If the above headers are not present the API throws a 400 Bad Request
with message either "Invalid disk format 'None' for image." if the x
-image-meta-disk_format header is missing, or else "Invalid container
format 'None' for image." if the x-image-meta-container_format header
is missing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1124224/+subscriptions