os-brick/os_brick/initiator/connectors
Gorka Eguileor b253e31696 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)
2018-08-21 09:26:43 -05:00
..
__init__.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
aoe.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
base.py Remove log translations 2017-03-22 09:19:01 +08:00
base_iscsi.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
disco.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
drbd.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fake.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fibre_channel.py Fix multipath disconnect with path failure 2018-08-21 09:26:43 -05:00
fibre_channel_ppc64.py Incorporate the connection_properties input for PPC64 2018-03-20 09:23:12 -04:00
fibre_channel_s390x.py Fix multipath disconnect with path failure 2018-08-21 09:26:43 -05:00
gpfs.py Add connector for GPFS volumes 2016-08-16 16:09:52 +05:30
hgst.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
huawei.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
iscsi.py Fix multipath disconnect with path failure 2018-08-21 09:26:43 -05:00
local.py doc: Restructure docs for doc-migration 2017-08-08 15:44:29 +01:00
nvme.py Include "nqn." in subsystem name 2018-04-17 14:21:42 +03:00
rbd.py Fix ceph incremental backup fail 2017-06-29 10:36:36 +08:00
remotefs.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
scaleio.py Adding support to extend attached ScaleIO volumes 2018-03-19 09:05:30 -04:00
sheepdog.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
storpool.py Add the StorPool brick connector 2017-12-01 23:06:15 +02:00
vmware.py Fix vmware migrate available volume bug 2017-09-11 16:43:24 +08:00
vrtshyperscale.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00