]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Cloudbyte fix create_cloned_volume parent id
authorWalter A. Boring IV <walter.boring@hp.com>
Wed, 2 Sep 2015 02:10:43 +0000 (02:10 +0000)
committerWalter A. Boring IV <walter.boring@hp.com>
Wed, 2 Sep 2015 02:10:43 +0000 (02:10 +0000)
commitc1632465e8b240a38d1774649cdbf1d8d90da165
tree1c0a3fb7454a42d2ff674a4fa16e53e237289d81
parent80b0355dc23fcfa41b2f3504f67d2e2a808613a0
Cloudbyte fix create_cloned_volume parent id

The CloudByte driver is reading the parent's volume id from the
new volume's source_volid.  There are some cases when this isn't set.
The source volume object/dict is passed in, so just access the id
from there.

Change-Id: If6d3f50d11e36434e194a355e874d44f9d79f553
Closes-Bug: 1491206
cinder/volume/drivers/cloudbyte/cloudbyte.py