os-brick/os_brick
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
..
encryptors Add missing params in NoOpEncryptor 2019-01-22 14:23:43 +08:00
initiator FC: Ignore some HBAs from map for single WWNN 2019-05-09 18:55:52 +02:00
local_dev Provide setting to ignore lvm descriptor leak warnings 2019-05-07 21:53:37 +00:00
privileged Refactor iSCSI connect 2017-06-16 16:09:35 +02:00
remotefs Py3: Fix invalid escape sequencees 2019-02-21 14:36:29 -05:00
tests FC: Ignore some HBAs from map for single WWNN 2019-05-09 18:55:52 +02:00
__init__.py doc: Remove cruft from conf.py 2017-08-08 15:44:29 +01:00
exception.py Revert "Verify WWN of connected iSCSI devices if passed" 2019-03-12 12:03:57 +02:00
executor.py iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
i18n.py Update and replace http with https for doc links 2017-07-26 02:18:44 +00:00
utils.py Mask passwords in utils.trace for func params 2016-11-08 12:55:46 -05:00
version.py Add reno for release notes management 2016-01-20 19:19:36 -06:00