]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Pass correct source_id to _handle_bootable_volume_glance_meta()
authorMitsuhiro Tanino <mitsuhiro.tanino@hds.com>
Tue, 15 Mar 2016 22:56:59 +0000 (18:56 -0400)
committerMitsuhiro Tanino <mitsuhiro.tanino@hds.com>
Tue, 15 Mar 2016 23:18:38 +0000 (19:18 -0400)
commit86d72d5806b3ea478ac0aebfbc41415d2755b94a
tree5f95ff39e05f7f1d9f33f140c0b6afd0bee3bd36
parentfc282f1ca05a2b432b44aae2f7625410f45f0c1a
Pass correct source_id to _handle_bootable_volume_glance_meta()

When we create a new volume from existing volume which has
volume_image_metadata, volume_image_metadata was not copied
to cloned volume.

This is a regression from Liberty and the root cause of this
problem was introduced via commit
032032f0c329b4eddcbf2185399396ff4fd5f00d.

This patch fixed a problem to pass correct source_id to
_handle_bootable_volume_glance_meta().

Change-Id: Ife1e9a6a25704569f8a599d19eee893bc7c0a469
Closes-Bug: #1557783
cinder/volume/flows/manager/create_volume.py