So apparently, the Content-MD5 field is not always set because of an issue in Pylons:
https://github.com/openstack/glance/blob/master/glance/api/v2/image_data.py#L317
So, if image.checksum is not set, the field will be missing. Could you please post a *complete* code sample (similar to what is in your original post) that I could just chmod +x and run?
So apparently, the Content-MD5 field is not always set because of an issue in Pylons:
https:/ /github. com/openstack/ glance/ blob/master/ glance/ api/v2/ image_data. py#L317
So, if image.checksum is not set, the field will be missing. Could you please post a *complete* code sample (similar to what is in your original post) that I could just chmod +x and run?