Comment 2 for bug 1057756

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/13791
Committed: http://github.com/openstack/nova/commit/cc02f6a5604892fb776158dab06b06f24a25cbfb
Submitter: Jenkins
Branch: master

commit cc02f6a5604892fb776158dab06b06f24a25cbfb
Author: Vishvananda Ishaya <email address hidden>
Date: Thu Sep 27 20:38:59 2012 +0000

    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