os-brick/os_brick/tests/initiator
Gorka Eguileor d866ee75c2 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
2018-08-13 11:02:01 +02:00
..
connectors Fix multipath disconnect with path failure 2018-08-13 11:02:01 +02:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_connector.py add a getter for connector mapping 2018-04-11 15:58:16 -03:00
test_host_driver.py Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
test_linuxfc.py FC Allow for multipath volumes with different LUNs 2018-07-16 10:31:52 -07:00
test_linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
test_linuxscsi.py Fix multipath disconnect with path failure 2018-08-13 11:02:01 +02:00
test_linuxsheepdog.py Add sheepdog support 2016-02-19 04:57:12 +00:00