os-brick/os_brick/tests/initiator
Gorka Eguileor 70899a9aa3 FC: Ignore some HBAs from map for single WWNN
Current FC OS-Brick code only checks for single WWNN to exclude some
HBAs from scanning when we don't receive an initiator_target_map from
the backend.

There are storage arrays,like XtremIO, that due to their architecture
and design have all target ports automatically mapped to LUNs and are
returning the initiator_target_map, but some of those ports may not be
connected to our HBAs, so we end up with another case of bug #1765000.

This patch makes sure that we always check if the target implements
single WWNN, not only when we don't receive the initiator_target_map.

With this we decrease the likelihood of ending with unexpected devices
in our system, because now we will ignore unconnected HBAs (even if
reported in the initiator_target_map) if we are working with single WWNN
target.

Related-Bug: #1765000
Closes-Bug: #1828440
Change-Id: I02c208142f5b342f894666831449243863eccbfe
2019-05-09 18:55:52 +02:00
..
connectors Fix ScaleIO KeyError after upgrade 2019-03-14 05:41:24 +00:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_connector.py Revert "rename ScaleIO connector to VxFlex OS" 2019-03-12 18:41:45 +00: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: Ignore some HBAs from map for single WWNN 2019-05-09 18:55:52 +02:00
test_linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
test_linuxscsi.py Revert "Verify WWN of connected iSCSI devices if passed" 2019-03-12 12:03:57 +02:00
test_linuxsheepdog.py Add sheepdog support 2016-02-19 04:57:12 +00:00
test_utils.py Context manager to handle shared_targets 2018-10-30 16:55:01 +01:00