Comment 13 for bug 1619675

Revision history for this message
wangxiyuan (wangxiyuan) wrote :

Could you show your image first to see whether it contains the "checksum" property or not?

$glance image-show IMAGEID

in Glance, it will not return Content-MD5 in response headers if the image doesn't contain "checksum":
https://github.com/openstack/glance/blob/master/glance/api/v2/image_data.py#L317-L318

If so, you should find the reason why the image doesn't contain "checksum", and the SDK should catch this KeyError.