os-brick/os_brick/tests/initiator/connectors
Gorka Eguileor cd9da93ee1 Fix multipath disconnect with path failure
Under certain conditions detaching a multipath device may result on
failure when flushing one of the individual paths, but the disconnect
should have succeeded, because there were other paths available to flush
all the data.

OS-Brick is currently following standard recommended disconnect
mechanism for multipath devices:

- Release all device holders
- Flush multipath
- Flush single paths
- Delete single devices

The problem is that this procedure does an innecessary step, flushing
individual single paths, that may result in an error.

Originally it was thought that the individual flushes were necessary to
prevent data loss, but upon further study of the multipath-tools and the
device-mapper code it was discovered that this is not really the case.

After the multipath flushing has been completed we can be sure that the
data has been successfully sent and acknowledge by the device.

Closes-Bug: #1785669
Change-Id: I10f7fea2d69d5d9011f0d5486863a8d9d8a9696e
(cherry picked from commit d866ee75c2)
(cherry picked from commit b253e31696)
2018-08-21 11:46:42 -05:00
..
__init__.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_aoe.py Replace assertDictMatch with assertDictEqual 2016-12-22 11:12:47 +08:00
test_base_iscsi.py Use assertEqual() instead of assertDictEqual() 2016-09-26 11:45:23 +07:00
test_disco.py Stop ignoring E123 and E125 pycodestyle rules 2017-05-24 00:43:02 +02:00
test_drbd.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_fibre_channel.py Fix multipath disconnect with path failure 2018-08-21 11:46:42 -05:00
test_fibre_channel_ppc64.py Incorporate the connection_properties input for PPC64 2018-03-21 05:22:21 +00:00
test_fibre_channel_s390x.py Fix multipath disconnect with path failure 2018-08-21 11:46:42 -05:00
test_gpfs.py Add connector for GPFS volumes 2016-08-16 16:09:52 +05:30
test_hgst.py Fix unittest run on s390x host 2017-02-22 20:43:16 +00:00
test_huawei.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_iscsi.py Fix multipath disconnect with path failure 2018-08-21 11:46:42 -05:00
test_iser.py Fix iSCSI volume attachment over RDMA transport 2017-08-23 11:18:06 +03:00
test_local.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_nvme.py Adding NVMEoF for initiator CLI 2017-11-16 14:39:34 +00:00
test_rbd.py Prevent rbd map again if it's already mapped 2017-05-18 12:08:20 +08:00
test_remotefs.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_scaleio.py Fix the mocking mess 2016-08-03 18:40:42 +02:00
test_sheepdog.py Change assertTrue(isinstance()) with optimal assert 2016-09-01 18:27:30 +08:00
test_storpool.py Add the StorPool brick connector 2017-12-01 23:06:15 +02:00
test_vmware.py Add connector for vmdk volumes 2016-08-09 17:23:30 +05:30
test_vrtshyperscale.py Fixed the veritas connector path 2017-05-23 18:32:54 +00:00