Comment 23 for bug 1421439

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/cinder (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/11398
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-ci/fuel-6.1/2014.2

Commit: 51da211434b7a3d9faaaab19189f84a7599462d1
Author: Denis V. Meltsaykin <email address hidden>
Date: Thu Sep 17 10:24:51 2015

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.

(commit changed in favor of Python 2.6/2.7 compatibility)

Closes-Bug: #1421439

Change-Id: Ib54bb6759b27334294fb2c6d2c0bfe4eae3d0920