Public bug reported:
When use command ' glance image-download --file xxx.raw <image-id>' to
download the image, it will fail with error code 500. glance-api log
info as below:
File "/opt/stack/glance/glance/common/wsgi.py", line 794, in __call__
response = self.process_request(req)
File "/opt/stack/glance/glance/api/middleware/cache.py", line 180, in
process_request
return method(request, image_id, image_iterator, image_metadata)
File "/opt/stack/glance/glance/api/middleware/cache.py", line 235, in
_process_v2_request
self._verify_metadata(image_meta)
File "/opt/stack/glance/glance/api/middleware/cache.py", line 75, in
_verify_metadata
image_meta['size'] = self.cache.get_image_size(image_meta['id'])
TypeError: 'ImageTarget' object does not support item assignment
This should be fixed.
** Affects: glance
Importance: Undecided
Assignee: jiaopengju (pj-jiao)
Status: In Progress
** Changed in: glance
Assignee: (unassigned) => jiaopengju (pj-jiao)
** Changed in: glance
Status: New => In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1686488
Title:
glance image-download error
Status in Glance:
In Progress
Bug description:
When use command ' glance image-download --file xxx.raw <image-id>' to
download the image, it will fail with error code 500. glance-api log
info as below:
File "/opt/stack/glance/glance/common/wsgi.py", line 794, in __call__
response = self.process_request(req)
File "/opt/stack/glance/glance/api/middleware/cache.py", line 180, in
process_request
return method(request, image_id, image_iterator, image_metadata)
File "/opt/stack/glance/glance/api/middleware/cache.py", line 235, in
_process_v2_request
self._verify_metadata(image_meta)
File "/opt/stack/glance/glance/api/middleware/cache.py", line 75, in
_verify_metadata
image_meta['size'] = self.cache.get_image_size(image_meta['id'])
TypeError: 'ImageTarget' object does not support item assignment
This should be fixed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1686488/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp