Magnum deployed servers have null region configured

Bug #1817051 reported by Mark Goddard
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Mark Goddard
Rocky
Fix Committed
Medium
Mark Goddard
Stein
Fix Released
Medium
Mark Goddard

Bug Description

As seen on openstack-discuss: http://lists.openstack.org/pipermail/openstack-discuss/2019-February/002878.html

Key error message from journalctl -u on the deployed servers:

Feb 19 17:42:38 kube-cluster-tls-6hezqcq4ien3-master-0.novalocal runc[2723]: publicURL endpoint for orchestration service in null region not found
Feb 19 17:42:38 kube-cluster-tls-6hezqcq4ien3-master-0.novalocal runc[2723]: Source [heat] Unavailable.

Suggested fix, provided by John Garbutt, which works: http://lists.openstack.org/pipermail/openstack-discuss/2019-February/002928.html.

Mark Goddard (mgoddard)
Changed in kolla-ansible:
assignee: nobody → Mark Goddard (mgoddard)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/638400

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

Reviewed: https://review.openstack.org/638400
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=54203843dd944211ef0b99e8c69d09638701a086
Submitter: Zuul
Branch: master

commit 54203843dd944211ef0b99e8c69d09638701a086
Author: Mark Goddard <email address hidden>
Date: Thu Feb 21 11:31:21 2019 +0000

    Configure region_name_for_services in heat.conf

    backport: rocky

    Not including this means that SoftwareDeployments do not have a
    configured region (it's set to 'null'), and can therefore not
    communicate back to the heat API. In particular, this breaks Magnum with
    the following error in the journal on the deployed servers:

    publicURL endpoint for orchestration service in null region not found

    Change-Id: Ia2c18ef10727391812368c958262a92385374ace
    Co-Authored-By: John Garbutt <email address hidden>
    Closes-Bug: #1817051

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

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/639308

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

Reviewed: https://review.openstack.org/639307
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=124dbcecacf960c38c1ec48fd4c49df97e6ab70d
Submitter: Zuul
Branch: stable/rocky

commit 124dbcecacf960c38c1ec48fd4c49df97e6ab70d
Author: Mark Goddard <email address hidden>
Date: Thu Feb 21 11:31:21 2019 +0000

    Configure region_name_for_services in heat.conf

    backport: rocky

    Not including this means that SoftwareDeployments do not have a
    configured region (it's set to 'null'), and can therefore not
    communicate back to the heat API. In particular, this breaks Magnum with
    the following error in the journal on the deployed servers:

    publicURL endpoint for orchestration service in null region not found

    Change-Id: Ia2c18ef10727391812368c958262a92385374ace
    Co-Authored-By: John Garbutt <email address hidden>
    Closes-Bug: #1817051
    (cherry picked from commit 54203843dd944211ef0b99e8c69d09638701a086)

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

Reviewed: https://review.openstack.org/639308
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=43bb77fe977b4bc7e58de9b0d1c823e04d35abce
Submitter: Zuul
Branch: stable/queens

commit 43bb77fe977b4bc7e58de9b0d1c823e04d35abce
Author: Mark Goddard <email address hidden>
Date: Thu Feb 21 11:31:21 2019 +0000

    Configure region_name_for_services in heat.conf

    backport: rocky,queens

    Not including this means that SoftwareDeployments do not have a
    configured region (it's set to 'null'), and can therefore not
    communicate back to the heat API. In particular, this breaks Magnum with
    the following error in the journal on the deployed servers:

    publicURL endpoint for orchestration service in null region not found

    Change-Id: Ia2c18ef10727391812368c958262a92385374ace
    Co-Authored-By: John Garbutt <email address hidden>
    Closes-Bug: #1817051
    (cherry picked from commit 54203843dd944211ef0b99e8c69d09638701a086)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.0.0.0rc1

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

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

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

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

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

Revision history for this message
Zane Bitter (zaneb) wrote :

Setting the region_name_for_services explicitly is a good workaround.

The cause was a regression in Heat: https://storyboard.openstack.org/#!/story/2005797
resulting from some weird behaviour in os-apply-config that wasn't accounted for: https://bugs.launchpad.net/os-apply-config/+bug/1830967

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.