cinder mishandling ipv6 address when using etcd for its DLM

Bug #1868284 reported by Alan Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Alan Bishop

Bug Description

When cinder is using etcd for its lock manager, it incorrectly formats the backend_url URI when the etcd host is an IPv6 address. For example, when $etcd_host is "fe80::1ff:fe23:4567:890a", it fails to add brackets around the address in the URI.

Expected backend_url : etcd3+http://[fe80::1ff:fe23:4567:890a]:2379
Actual backend_url : etcd3+http://fe80::1ff:fe23:4567:890a:2379

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

Fix proposed to branch: master
Review: https://review.opendev.org/714175

Changed in tripleo:
status: Triaged → In Progress
tags: added: edge
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.opendev.org/714175
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=aed9bda1b0b97305be3d147ded862f936253bac2
Submitter: Zuul
Branch: master

commit aed9bda1b0b97305be3d147ded862f936253bac2
Author: Alan Bishop <email address hidden>
Date: Fri Mar 20 09:42:45 2020 -0700

    Handle ipv6 addresses in etcd and cinder's backend_url

    When configured to use an ipv6 address, the etcd URLs and the cinder
    lock manager's backend_url need to include brackets around the address.

    Closes-Bug: #1868284
    Change-Id: I79f385f14b5904803cdc7fdd145afa2dbcef9c49

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/714635

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/train)

Reviewed: https://review.opendev.org/714635
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=7ce90cb74d1fd8b24cd92df55b9d4f736897f664
Submitter: Zuul
Branch: stable/train

commit 7ce90cb74d1fd8b24cd92df55b9d4f736897f664
Author: Alan Bishop <email address hidden>
Date: Fri Mar 20 09:42:45 2020 -0700

    Handle ipv6 addresses in etcd and cinder's backend_url

    When configured to use an ipv6 address, the etcd URLs and the cinder
    lock manager's backend_url need to include brackets around the address.

    Closes-Bug: #1868284
    Change-Id: I79f385f14b5904803cdc7fdd145afa2dbcef9c49
    (cherry picked from commit aed9bda1b0b97305be3d147ded862f936253bac2)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 12.2.0

This issue was fixed in the openstack/puppet-tripleo 12.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 11.5.0

This issue was fixed in the openstack/puppet-tripleo 11.5.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.