Comment 20 for bug 1382440

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

Reviewed: https://review.openstack.org/144066
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7307dbaf6b9734ddd456c7b0c1d2c85e053ce61f
Submitter: Jenkins
Branch: stable/juno

commit 7307dbaf6b9734ddd456c7b0c1d2c85e053ce61f
Author: Hiroyuki Eguchi <email address hidden>
Date: Thu Dec 4 15:12:11 2014 +0900

    Fix disconnecting necessary iSCSI sessions issue

    In Icehouse with "iscsi_use_multipath=true", detaching a multipath
    iSCSI volume kills all iSCSI volumes visible from the nova compute node.
    When we use different targets(IQNs) associated with same portal for
    each different multipath device, all of the targets will be deleted
    via disconnect_volume().

    This patch fixes the behavior of detaching volume:

      1. Extract the targets for the detached multipath device.
      2. Delete/disconnect the targets for the detached multipath device.

    Closes-Bug: #1382440

    (cherry picked from commit 36aeedfd5eeb0345d66fa8456ed6a9447a6514a0)

    Conflicts:
            nova/tests/unit/virt/libvirt/test_volume.py

    Change-Id: I38eafdaee03d136282cfde1fd013e322a4256cc4