commit f20643ca44e139e3384b9dea638b54c2235b1169
Author: Anton Arefiev <email address hidden>
Date: Tue Mar 31 19:44:57 2015 +0300
Fix properties extracting from image with glance api v2
When a volume is created using the glance v1 API, the non based
properties places in 'properties' dict, and nova is expected
to find them here. Otherwise api's v2 return custom image properties
as base properties, so nova can't find them in volume 'image
properties'.
This change add new glance call to get image schema, it allows
extract custom properties from image.
Reviewed: https:/ /review. openstack. org/169430 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=f20643ca44e 139e3384b9dea63 8b54c2235b1169
Committed: https:/
Submitter: Jenkins
Branch: master
commit f20643ca44e139e 3384b9dea638b54 c2235b1169
Author: Anton Arefiev <email address hidden>
Date: Tue Mar 31 19:44:57 2015 +0300
Fix properties extracting from image with glance api v2
When a volume is created using the glance v1 API, the non based
properties places in 'properties' dict, and nova is expected
to find them here. Otherwise api's v2 return custom image properties
as base properties, so nova can't find them in volume 'image
properties'.
This change add new glance call to get image schema, it allows
extract custom properties from image.
Closes-Bug: 1323660
Change-Id: Ib54bb6759b2733 4294fb2c6d2c0bf e4eae3d0920