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)
Reviewed: https:/ /review. openstack. org/188158 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=531398504fc dcffb37e73a254f 5a3da1854ef41e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 531398504fcdcff b37e73a254f5a3d a1854ef41e
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( ).
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_
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 I38eafdaee03d13 6282cfde1fd013e 322a4256cc4)
Co-Authored-By: Hiroyuki Eguchi <email address hidden> c7263ff616ae4b0 06d9504547a
Closes-Bug: #1382440
Change-Id: I5fdbb5765642ba