Comment 4 for bug 1887908

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/ussuri)

Reviewed: https://review.opendev.org/751572
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=c55e259d59af6a29ebef5deb61ea01633162f7a0
Submitter: Zuul
Branch: stable/ussuri

commit c55e259d59af6a29ebef5deb61ea01633162f7a0
Author: Naoki Saito <email address hidden>
Date: Fri Jul 17 17:30:17 2020 +0900

    NEC driver: fix live-migration failure with FC

    The initialize_connection() in the driver sometimes returns wrong LUN
    and causes a live-migration failure.
    The function searches the LUN from LD sets (attached hosts) and returns
    the first hit.
    The function must return an LUN of the destination host, but the first
    hit may be an LUN of the source host.

    This patch fixes initialize_connection() to return correct LUN by
    searching with WWPN of the desitination host.

    Change-Id: I102ae84204e0d88814a7d2e028f7cec118ad6b60
    Closes-Bug: #1887908
    (cherry picked from commit 94c1d241533397bb938682abeaa51ae74d069cb7)