os-brick/os_brick/tests/initiator
Gorka Eguileor 1432c369fb FC: Fix not flushing on detach
When doing multipathed Fibre Channel we may end up not flushing the
volume when disconnecting it if didn't find a multipath when doing
the connection.

The issue is caused by the `connect_volume` call returning a real path
instead of a symlink and us passing the wrong device_info to the
_remove_devices method, which makes the disconnect code incorrectly
identify when a multipath was used to decide whether to do a flush or
not.

This patch fixes these things in order to flush the individual path when
necessary.

Closes-Bug: #1897787
Change-Id: Ie3266c81b3c6bb5a2c213a12410539d404d1febe
2020-10-01 12:29:50 +02:00
..
connectors FC: Fix not flushing on detach 2020-10-01 12:29:50 +02:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_connector.py Remove CORAID AOE connector 2020-08-25 16:41:54 -04:00
test_host_driver.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxfc.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxrbd.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxscsi.py FC: Fix not flushing on detach 2020-10-01 12:29:50 +02:00
test_utils.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00