Comment 8 for bug 1765000

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to os-brick (master)

Reviewed: https://review.opendev.org/658154
Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=70899a9aa3e4bdd3f1b1a7024807390cd55c4958
Submitter: Zuul
Branch: master

commit 70899a9aa3e4bdd3f1b1a7024807390cd55c4958
Author: Gorka Eguileor <email address hidden>
Date: Thu May 9 17:25:03 2019 +0200

    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