yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03484
[Bug 1193310] Re: glance v2 get image erro
** 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/1193310
Title:
glance v2 get image erro
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Status in Python client library for Glance:
Invalid
Bug description:
When trying to retrieve a glance image using the v2 api, you get an error:
# glance --os-image-api-version 2 --debug image-download image_id
'utf8' codec can't decode byte 0xcc in position 1217: invalid
continuation byte
This is because glance (glanceclient) expects a response of type content-type: application/octet-stream (glance v1 api)
but it's getting a Content-Type: text/html; charset=UTF-8 Transfer-Encoding: chunked (glance v2 api)
https://github.com/openstack/python-glanceclient/blob/master/glanceclient/common/http.py#L213
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1193310/+subscriptions