Octavia region configuration missing

Bug #1841479 reported by Joseph M
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Joseph M
Rocky
Fix Committed
Medium
Unassigned
Stein
Fix Committed
Medium
Unassigned
Train
Fix Released
Medium
Joseph M

Bug Description

Operating system distribution and version: CentOS 7.6.1810
Kolla-Ansible package version: 8.0.1.dev77
install_type (source/binary) and distribution from /etc/kolla/globals.yml: centos stein source
Are you using official images from Docker Hub or self built? Official

Similar to #1836952 Octavia does not have the region information specified in its configuration file to choose the correct catalog endpoint in a multi-region environment.

https://opendev.org/openstack/kolla-ansible/src/branch/master/ansible/roles/octavia/templates/octavia.conf.j2

https://docs.openstack.org/octavia/stein/configuration/configref.html

Specifically the following at a minimum is needed in order for Octavia to choose the correct amphora image, choose the correct Neutron endpoint to manage the port, and choose the correct Nova endpoint to create the amphora VM:

[glance]
region_name = <region>

[neutron]
region_name = <region>

[nova]
region_name = <region>

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

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

Changed in kolla-ansible:
assignee: nobody → Joseph M (noxoid)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

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

commit 51033d9b3146267341f94d8a4c190623283898c6
Author: Joseph M <email address hidden>
Date: Mon Aug 26 17:37:48 2019 -0400

    [octavia] Add region-specific catalog lookups

    octavia.conf is missing configuration values required to do service
    catalog lookups in multiple region environments. Without them Octavia
    can try to contact a service in a different region than its own. Specify
    region_name and endpoint_type for the glance, neutron, and nova services
    to prevent this from happening.

    Change-Id: I753cf443c1506bbd7b69fc47e2e0a9b39857509c
    Closes-Bug: #1841479

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/stein)

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

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

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/685931

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

Reviewed: https://review.opendev.org/685931
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=ec2d992819a7856c1a8150a50859188e23e66382
Submitter: Zuul
Branch: stable/rocky

commit ec2d992819a7856c1a8150a50859188e23e66382
Author: Joseph M <email address hidden>
Date: Mon Aug 26 17:37:48 2019 -0400

    [octavia] Add region-specific catalog lookups

    octavia.conf is missing configuration values required to do service
    catalog lookups in multiple region environments. Without them Octavia
    can try to contact a service in a different region than its own. Specify
    region_name and endpoint_type for the glance, neutron, and nova services
    to prevent this from happening.

    Change-Id: I753cf443c1506bbd7b69fc47e2e0a9b39857509c
    Closes-Bug: #1841479
    (cherry picked from commit 51033d9b3146267341f94d8a4c190623283898c6)

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

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

commit 5e54f7647ebdee2e794a74291dcb5aa6752f18c5
Author: Joseph M <email address hidden>
Date: Mon Aug 26 17:37:48 2019 -0400

    [octavia] Add region-specific catalog lookups

    octavia.conf is missing configuration values required to do service
    catalog lookups in multiple region environments. Without them Octavia
    can try to contact a service in a different region than its own. Specify
    region_name and endpoint_type for the glance, neutron, and nova services
    to prevent this from happening.

    Change-Id: I753cf443c1506bbd7b69fc47e2e0a9b39857509c
    Closes-Bug: #1841479
    (cherry picked from commit 51033d9b3146267341f94d8a4c190623283898c6)

tags: added: in-stable-stein
Mark Goddard (mgoddard)
Changed in kolla-ansible:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 9.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 9.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 7.2.0

This issue was fixed in the openstack/kolla-ansible 7.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.1.0

This issue was fixed in the openstack/kolla-ansible 8.1.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.