summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2012-09-27 20:38:59 +0000
committerVishvananda Ishaya <vishvananda@gmail.com>2012-09-27 22:57:23 +0000
commitcc02f6a5604892fb776158dab06b06f24a25cbfb (patch)
tree5a2489fcebc7c8943f2e459234085f2003d7992d /nova/openstack
parent81fa6f717d6e32a4cfc2c734e228e60b204da045 (diff)
downloadnova-cc02f6a5604892fb776158dab06b06f24a25cbfb.tar.gz
nova-cc02f6a5604892fb776158dab06b06f24a25cbfb.tar.xz
nova-cc02f6a5604892fb776158dab06b06f24a25cbfb.zip
libvirt: continue detach if instance not found
Currently the libvirt code will always logout of the iscsi target during detach error, but the exception will cause the volume to remain in an attached state. This needs to be more consistent, so This patch checks specifically for not found and logs a warning and explicitly detaches. Any other exception will leave iscsi logged in and leave the volume in the attached state. Fixes bug 1057756 Change-Id: I23bb7f27e8a9b20fdbf62b0629ca8cc448f427c5
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions