diff options
| author | Chris Behrens <cbehrens@codestud.com> | 2013-03-20 18:13:05 +0000 |
|---|---|---|
| committer | Chris Behrens <cbehrens@codestud.com> | 2013-03-20 20:47:36 +0000 |
| commit | 26aa01094a79939320d58f2fe2d5731f169987b1 (patch) | |
| tree | e114da32bbd35886017c27aebe868cb8c79f17c6 /nova/openstack | |
| parent | c6b1d4a7c332114f32799c2fd4c346789c45b0f0 (diff) | |
| download | nova-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
