All clients used by Magnum should use internalURL

Bug #1885096 reported by Bharat Kunwar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Bharat Kunwar
Stein
Fix Committed
Medium
Mark Goddard
Train
Fix Committed
Medium
Bharat Kunwar
Ussuri
Fix Committed
Medium
Bharat Kunwar
Victoria
Fix Released
Medium
Bharat Kunwar

Bug Description

At present, some clients in Magnum are configured to use internalURL and others that are not configured use publicURL by default. All control plane communications should happen via internalURL otherwise it leads to inconsistencies. For example, if the publicURL requires self signed CA file, Magnum fails to communicated with Octavia client during cluster deletion with an error like this in the conductor:

```
Failed to pre-delete resources for cluster 0e96adc8-2f1a-4c0b-8d6f-8603044aafc6, error: SSL exception connecting to https://os.dl.hpc.tuwien.ac.at:9876/v2.0/lbaas/loadbalancers: HTTPSConnectionPool(host='os.dl.hpc.tuwien.ac.at', port=9876): Max retries exceeded with url: /v2.0/lbaas/loadbalancers (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),)).
```

Bharat Kunwar (brtkwr)
no longer affects: launchpad
Changed in kolla-ansible:
assignee: nobody → Bharat Kunwar (brtknr)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/737834
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=eb24945d75379952d0988403f3ed4bb9203f2113
Submitter: Zuul
Branch: master

commit eb24945d75379952d0988403f3ed4bb9203f2113
Author: Bharat Kunwar <email address hidden>
Date: Wed Jun 24 16:24:30 2020 +0100

    Use internalURL endpoint_type for all clients used by Magnum

    Magnum, Cinder and Octavia clients in Magnum now use endpoint_type of
    internalURL by default consistent with other clients also used by the
    conductor. Additionally, they also use the globally defined
    `openstack_region_name` for region_name.

    Closes-Bug: #1885096

    Change-Id: Ibec511013760cc4f681a2ec1b769b532be3daf2d

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

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/738252

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/train)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/738341

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

Reviewed: https://review.opendev.org/738252
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=a0a184e95478950ee4e7b081bbed12f8b203d092
Submitter: Zuul
Branch: stable/ussuri

commit a0a184e95478950ee4e7b081bbed12f8b203d092
Author: Bharat Kunwar <email address hidden>
Date: Wed Jun 24 16:24:30 2020 +0100

    Use internalURL endpoint_type for all clients used by Magnum

    Magnum, Cinder and Octavia clients in Magnum now use endpoint_type of
    internalURL by default consistent with other clients also used by the
    conductor. Additionally, they also use the globally defined
    `openstack_region_name` for region_name.

    Closes-Bug: #1885096

    Change-Id: Ibec511013760cc4f681a2ec1b769b532be3daf2d
    (cherry picked from commit eb24945d75379952d0988403f3ed4bb9203f2113)

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

Reviewed: https://review.opendev.org/738253
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=1aa4565ff3050aacfa9c048ae152178cb635169b
Submitter: Zuul
Branch: stable/train

commit 1aa4565ff3050aacfa9c048ae152178cb635169b
Author: Bharat Kunwar <email address hidden>
Date: Wed Jun 24 16:24:30 2020 +0100

    Use internalURL endpoint_type for all clients used by Magnum

    Magnum, Cinder and Octavia clients in Magnum now use endpoint_type of
    internalURL by default consistent with other clients also used by the
    conductor. Additionally, they also use the globally defined
    `openstack_region_name` for region_name.

    Closes-Bug: #1885096

    Change-Id: Ibec511013760cc4f681a2ec1b769b532be3daf2d
    (cherry picked from commit eb24945d75379952d0988403f3ed4bb9203f2113)

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

Reviewed: https://review.opendev.org/738341
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=c19169679a284ce10db304c68a6a60f45562b510
Submitter: Zuul
Branch: stable/stein

commit c19169679a284ce10db304c68a6a60f45562b510
Author: Bharat Kunwar <email address hidden>
Date: Wed Jun 24 16:24:30 2020 +0100

    Use internalURL endpoint_type for all clients used by Magnum

    Magnum, Cinder and Octavia clients in Magnum now use endpoint_type of
    internalURL by default consistent with other clients also used by the
    conductor. Additionally, they also use the globally defined
    `openstack_region_name` for region_name.

    Closes-Bug: #1885096

    Change-Id: Ibec511013760cc4f681a2ec1b769b532be3daf2d
    (cherry picked from commit eb24945d75379952d0988403f3ed4bb9203f2113)

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.