octavia uses incorrect hostname when creating health manager ports

Bug #1837043 reported by Brent Eagles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Brent Eagles

Bug Description

The hostname used to set the binding host for Octavia health manager is currently taken from the ansible hostname which appears to be incorrect in some cases (e.g. standalone, possibly splitstack). This causes port binding within the neutron L2 agent to fail because it doesn't match neutron's expected value for that host. The canonical hostname from the tripleo ansible inventory might be a better match.

Brent Eagles (beagles)
Changed in tripleo:
milestone: none → train-3
status: New → Triaged
importance: Undecided → High
assignee: nobody → Brent Eagles (beagles)
Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: train-3 → train-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/671087
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=71b69e865947cfdbaa60097a6f538b0303e6764b
Submitter: Zuul
Branch: master

commit 71b69e865947cfdbaa60097a6f538b0303e6764b
Author: Brent Eagles <email address hidden>
Date: Tue Jul 16 13:11:52 2019 -0230

    Set canonical hostname in octavia config inventory

    Use the canonical hostname from the tripleo-ansible-inventory instead of
    the host name to catch the proper fqdn for that host. This is required
    for proper binding of the health manager ports within neutron.

    Closes-Bug: #1837043

    Change-Id: I5d23b02ca46a40b39dc25a8367541b0a6e517982

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

Reviewed: https://review.opendev.org/671088
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=8b88d25d439540508a63e01a27d6472d92bb1670
Submitter: Zuul
Branch: master

commit 8b88d25d439540508a63e01a27d6472d92bb1670
Author: Brent Eagles <email address hidden>
Date: Tue Jul 16 13:12:46 2019 -0230

    Use canonical hostname when setting up network ports

    The hostname used to set the binding host for Octavia health manager
    needs to match the hostname expected by the neutron L2 agent in order
    for port binding to succeed. The canonical hostname from the
    tripleo ansible inventory might be a better match than the hostname used
    in group vars.

    Related-Bug: #1837043
    Depends-On: I5d23b02ca46a40b39dc25a8367541b0a6e517982
    Change-Id: Ie0cf35d95c7632e904bc7be9fbc856b7ff0d21ca

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.2.0

This issue was fixed in the openstack/tripleo-heat-templates 11.2.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.