So when glance client calls the api, request/adapters.py build_response() , should convert them into case insensitive like
x-image-meta-checksum, but this is not happening with new urllib3 response object.
They are not converted as expected by the glance client. and then glance client treats this as no properties retrieved for the image. In fact the glance api is returning proper response. But because of this conversion failure, its throwing attribute error.
I saw this issue as well updating to urllib3 in nova image-show
nova/image/ glance. py's show() method
following is not getting properties
image = self._client. call(context, version, 'get', image_id)
glance api returns image properties with same case as
• X-Image- Meta-Checksum →d41d8cd98f00b2 04e9800998ecf84 27e Meta-Container_ format →bare Meta-Created_ at →2015-08- 13T19:12: 26.235339 Meta-Deleted →False Meta-Disk_ format →raw 6b1b-4464- b2b5-7e517a8bbb cc Meta-Is_ public →True, etc...
• X-Image-
• X-Image-
• X-Image-
• X-Image-
• X-Image-Meta-Id →03dc7a38-
• X-Image-
So when glance client calls the api, request/adapters.py build_response() , should convert them into case insensitive like
x-image- meta-checksum, but this is not happening with new urllib3 response object.
They are not converted as expected by the glance client. and then glance client treats this as no properties retrieved for the image. In fact the glance api is returning proper response. But because of this conversion failure, its throwing attribute error.