Comment 28 for bug 1382440

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

Reviewed: https://review.openstack.org/188158
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=531398504fcdcffb37e73a254f5a3da1854ef41e
Submitter: Jenkins
Branch: master

commit 531398504fcdcffb37e73a254f5a3da1854ef41e
Author: Tomoki Sekiyama <email address hidden>
Date: Tue Jun 2 18:38:34 2015 -0400

    Fix disconnecting necessary iSCSI sessions issue

    With "iscsi_use_multipath=true", detaching a multipath iSCSI
    volume kills all iSCSI volumes visible from the attached 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.

    (Ported from I38eafdaee03d136282cfde1fd013e322a4256cc4)

    Co-Authored-By: Hiroyuki Eguchi <email address hidden>
    Closes-Bug: #1382440
    Change-Id: I5fdbb5765642bac7263ff616ae4b006d9504547a