diff options
author | Mate Lakat <mate.lakat@citrix.com> | 2013-01-18 15:12:15 +0000 |
---|---|---|
committer | Mate Lakat <mate.lakat@citrix.com> | 2013-01-18 15:58:19 +0000 |
commit | 41848d419cc87f3344c2d071e42561bb52c0c577 (patch) | |
tree | 5e5b426f9a2f7cba715911eb505d92cc4236ab9d /nova/utils.py | |
parent | e3a729b7c8873146d00d915a07094d327f97d184 (diff) | |
download | nova-41848d419cc87f3344c2d071e42561bb52c0c577.tar.gz nova-41848d419cc87f3344c2d071e42561bb52c0c577.tar.xz nova-41848d419cc87f3344c2d071e42561bb52c0c577.zip |
XenAPI: Fix volume detach
fixes bug 1101229
The code-cleanup and code-move changes from this patch:
https://review.openstack.org/#/c/19219/
introduced a problem: the volume_utils.find_sr_from_vbd method was
called after the vbd has already been destroyed. This change fixes the
issue by moving the sr discovery before the vbd destruction, and tests
the call order by using side effects.
Change-Id: Ide4f8ac810f98bb192909f5f0408affc940e7446
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions