ironic/ironic/common/glance_service
Kaifeng Wang 11811f2f18 Enhanced checksum support
This patch adds the ability to pass new hash fields os_hash_algo
and os_hash_value to IPA.

Glance will not re-compute hash values for existing images (they only
update these fields for newly uploaded images), so the os_hash_algo
and os_hash_value can be None.

In the case of direct interface with http provisioning, there
are two hash computing, one is for md5 checksum, and the other is
for new os_hash_algo (if it exists). If the os_hash_algo is
configured to md5, we'll bypass and wouldn't pass os_hash_algo to
IPA, because it's a waste of resource.

Change-Id: Iff72194787561b936efe3572e2b7a70217165a82
Story: 2003938
Task: 26845
2018-10-22 16:12:31 +08:00
..
v2 Completely remove support for deprecated Glance V1 2018-10-12 12:20:10 +02:00
__init__.py Move glance image service client from nova and cinder into ironic 2013-08-12 22:34:41 +02:00
base_image_service.py Completely remove support for deprecated Glance V1 2018-10-12 12:20:10 +02:00
service_utils.py Enhanced checksum support 2018-10-22 16:12:31 +08:00