Comment 15 for bug 1696866

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

Reviewed: https://review.opendev.org/678601
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=88a87b2d4892fd8bdd3b80d1385775c5b044c368
Submitter: Zuul
Branch: stable/stein

commit 88a87b2d4892fd8bdd3b80d1385775c5b044c368
Author: Gorka Eguileor <email address hidden>
Date: Tue Aug 20 19:36:09 2019 +0200

    Fix LVM IPv6 target portals

    The LVM driver is reporting incorrect target_portal and target_portals
    entries for IPv6 with all the targets, as it is not enclosing the
    address in square brackets making it impossible for iscsiadm in OS-Brick
    to tell the port appart from the IP address.

    This patch makes sure that IPv6 addresses in target_portal and
    target_portals are properly formatted in the [IPv6_address]:port when
    the IPv6_address does not already include the square brackets.

    This fix affects all the targets: IET, LIO, TGT, CXT, and SCST.

    Closes-Bug: #1696866
    Change-Id: Ie7053c813af8c99b5545222d4724b71061348a09
    (cherry picked from commit fddb9b7962ab2d4f3b6f57faef1c090b097b60c6)