Commit: 2fee22ebce42ef5a292710b86c30a2b6fd58b2d3
Author: Jon Bernard <email address hidden>
Date: Wed Sep 16 22:11:50 2015
Include boot properties from glance v2 images
In order for users to take advantage of COW volumes created from
a glance image, Cinder must be configured to use Glance API version
2 (default is 1). In version 2, the required boot metadata (kernel_id
and ramdisk_id) are no long stored in the 'properties' dict, but as
standalone fields in the GET response from glance. The existing cinder
parser for the glance request is not aware of this and the volume
created form a v2 image will lack this required metadata.
This was causing the recent Ceph CI gate failures for
test_volume_boot_pattern.
Change-Id: I688898b3841691369d73887f7eabdceb05155db1
Closes-Bug: #1421439
(cherry picked from commit ea109b5f24dca93fd6f660bc436a685d6101bcea)
Reviewed: https:/ /review. fuel-infra. org/11397 ci/fuel- 6.1/2014. 2
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-
Commit: 2fee22ebce42ef5 a292710b86c30a2 b6fd58b2d3
Author: Jon Bernard <email address hidden>
Date: Wed Sep 16 22:11:50 2015
Include boot properties from glance v2 images
In order for users to take advantage of COW volumes created from
a glance image, Cinder must be configured to use Glance API version
2 (default is 1). In version 2, the required boot metadata (kernel_id
and ramdisk_id) are no long stored in the 'properties' dict, but as
standalone fields in the GET response from glance. The existing cinder
parser for the glance request is not aware of this and the volume
created form a v2 image will lack this required metadata.
This was causing the recent Ceph CI gate failures for boot_pattern.
test_volume_
Change-Id: I688898b3841691 369d73887f7eabd ceb05155db1 fd6f660bc436a68 5d6101bcea)
Closes-Bug: #1421439
(cherry picked from commit ea109b5f24dca93