]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixed access to instance_uuid in retype
authorWalter A. Boring IV <walter.boring@hp.com>
Wed, 25 Mar 2015 23:33:16 +0000 (16:33 -0700)
committerWalter A. Boring IV <walter.boring@hp.com>
Wed, 25 Mar 2015 23:39:51 +0000 (16:39 -0700)
commit8cd9e49a90f8ce7ee59420e4585c824e6dff889e
tree8550f93b7e500d7fdd9edaba7774f70e6693baa1
parent706878deaaa5acbb8a577942a5a774c58fe16332
Fixed access to instance_uuid in retype

We missed an access to volume['instance_uuid']
in the multiattach patch.   The instance_uuid and attached_host
were moved into the volume_attachment table.

This patch changes how we test to see if a volume is available
or not, but checking the new location.

Change-Id: I8844cd8c2947845f9efb11a2a1371efee2d28bbe
Closes-Bug: 1436604
cinder/scheduler/manager.py
cinder/tests/scheduler/test_scheduler.py