os-brick/os_brick/tests/initiator/connectors
Gorka Eguileor c0640ce137 Fix multipath flush when using friendly names
When we are using friendly names for multipath the multipaths are not
getting flushed, which may lead to data loss on slow connections and
multipath entries with no actual paths.

This happens in both iSCSI and FC connections, and it is due to the
flush being requested on the WWN instead of the actual name of the
device.

So when we are not using friendly names the WWN and the device name are
the same and our call to multipath -f will successfully flush remaining
data, but when we are using friendly names they will not match, and the
call to multipath -f will silently fail (return code 0) and the flush
will not actually go through. When the flush doesn't happen, if there is
remaining data, then the multipath will stay once the individual paths
have been removed.

Closes-Bug: #1663925
Change-Id: Ib93d945a5b5fca57bcac4e176d62d1412b95f2da
2017-02-27 16:56:26 +01: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 Fix the mocking mess 2016-08-03 18:40:42 +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 flush when using friendly names 2017-02-27 16:56:26 +01:00
test_fibre_channel_s390x.py s390 FC device path fix for Ubuntu 2017-01-12 08:55:23 +01:00
test_gpfs.py Add connector for GPFS volumes 2016-08-16 16:09:52 +05:30
test_hgst.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_huawei.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_iscsi.py Stop calling multipath -r when attaching/detaching iSCSI volumes 2016-09-21 15:32:45 -07:00
test_local.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
test_rbd.py RBD: ensure temporary config gets deleted 2016-11-30 14:34:07 -05: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_vmware.py Add connector for vmdk volumes 2016-08-09 17:23:30 +05:30