If you change this line:
https://github.com/openstack/nova/blob/9326c1ed403477d627fa1b94e6937c99deed9ecd/nova/image/glance.py#L968
To this:
output[attr] = getattr(image, attr, 0) or 0
It works like a charm.
If you change this line:
https:/ /github. com/openstack/ nova/blob/ 9326c1ed403477d 627fa1b94e6937c 99deed9ecd/ nova/image/ glance. py#L968
To this:
output[attr] = getattr(image, attr, 0) or 0
It works like a charm.