yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08278
[Bug 1269634] [NEW] Glance reports NO ERROR for failed upload
Public bug reported:
On a 0.12.0 client, attempt to upload an image to glance:
$ glance -d -v image-create --name=Test --disk-format=qcow2 --container-format=bare --file test.img
Error communicating with http://example.com:9292 [Errno 35] Resource temporarily unavailable
In debug mode:
curl -i -X POST -H 'x-image-meta-container_format: bare' -H 'Transfer-Encoding: chunked' -H 'User-Agent: python-glanceclient' -H 'x-image-meta-size: 13147648' -H 'x-image-meta-is_public: False' -H 'X-Auth-Token: tokentoken' -H 'Content-Type: application/octet-stream' -H 'x-image-meta-disk_format: qcow2' -H 'x-image-meta-name: Test' -d '<open file u'test.img', mode 'rb' at 0x10db99d20>' http://example.com:9292/v1/images
Relevant glance logs:
http://paste.openstack.org/show/61317/
The bug is that no errors are reported on the failure in glance-api or
glance-registry. This should at least raise a warning and return a
non-200 status back to the host.
** Affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1269634
Title:
Glance reports NO ERROR for failed upload
Status in OpenStack Image Registry and Delivery Service (Glance):
New
Bug description:
On a 0.12.0 client, attempt to upload an image to glance:
$ glance -d -v image-create --name=Test --disk-format=qcow2 --container-format=bare --file test.img
Error communicating with http://example.com:9292 [Errno 35] Resource temporarily unavailable
In debug mode:
curl -i -X POST -H 'x-image-meta-container_format: bare' -H 'Transfer-Encoding: chunked' -H 'User-Agent: python-glanceclient' -H 'x-image-meta-size: 13147648' -H 'x-image-meta-is_public: False' -H 'X-Auth-Token: tokentoken' -H 'Content-Type: application/octet-stream' -H 'x-image-meta-disk_format: qcow2' -H 'x-image-meta-name: Test' -d '<open file u'test.img', mode 'rb' at 0x10db99d20>' http://example.com:9292/v1/images
Relevant glance logs:
http://paste.openstack.org/show/61317/
The bug is that no errors are reported on the failure in glance-api or
glance-registry. This should at least raise a warning and return a
non-200 status back to the host.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1269634/+subscriptions
Follow ups
References