os-brick/os_brick/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 invalid escape sequence warnings 2019-04-09 16:20:13 -05:00
windows Update hacking version 2019-01-18 21:30:00 -05:00
__init__.py Revert "rename ScaleIO connector to VxFlex OS" 2019-03-12 18:41:45 +00:00
connector.py Revert "rename ScaleIO connector to VxFlex OS" 2019-03-12 18:41:45 +00:00
host_driver.py Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
initiator_connector.py Add staticmethod decorator in InitiatorConnector 2018-08-17 17:36:21 +08:00
linuxfc.py FC: Ignore some HBAs from map for single WWNN 2019-05-09 18:55:52 +02:00
linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
linuxscsi.py Revert "Verify WWN of connected iSCSI devices if passed" 2019-03-12 12:03:57 +02:00
linuxsheepdog.py Remove unused LOG to keep code clean 2016-07-09 10:17:48 +08:00
utils.py Context manager to handle shared_targets 2018-10-30 16:55:01 +01:00