summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2013-03-20 18:13:05 +0000
committerChris Behrens <cbehrens@codestud.com>2013-03-20 20:47:36 +0000
commit26aa01094a79939320d58f2fe2d5731f169987b1 (patch)
treee114da32bbd35886017c27aebe868cb8c79f17c6 /nova/openstack
parentc6b1d4a7c332114f32799c2fd4c346789c45b0f0 (diff)
downloadnova-26aa01094a79939320d58f2fe2d5731f169987b1.tar.gz
nova-26aa01094a79939320d58f2fe2d5731f169987b1.tar.xz
nova-26aa01094a79939320d58f2fe2d5731f169987b1.zip
Change arguments to volume_detach()
Most compute API calls accept an instance object. To be compatible with cells, volume_detach() should as well. Also change it to accept the volume object, instead of just a volume ID. This lets us proxy the volume object to child cells a bit more easily. This removes 2 skipTests that we have related to volumes and cells. Fixes bug 1157408 There was also a check that if instance_get_by_uuid() returned no instance, it VolumeUnattached should be raised. However, this check would never work as InstanceNotFound would have been raised. This patch also corrects that. Change-Id: Ide35ad5d8e147f6bd21b5840b901363dab0eae38
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions