Old Undercloud Hosts Entry Should be Removed

Bug #1861035 reported by Luke Short
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Luke Short

Bug Description

Description
===========
If multiple entries exist for the Undercloud (and they point to different IP addresses) then this can lead to deployment issues.

Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1792422

Steps to reproduce
==================
* Configure a hosts entry for the Undercloud in /etc/hosts that points to a public IP address
* Install the Undercloud. This will create additional /etc/hosts entries.

Expected result
===============
The Undercloud installs successfully.

Actual result
=============
RabbitMQ binds to the wrong hostname/IP leading to a failed deployment.

Environment
===========
Train and master (Ussuri)

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

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

Changed in tripleo:
status: New → In Progress
tags: added: idempotency train-backport-potential
Changed in tripleo:
milestone: none → ussuri-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-ansible (master)

Change abandoned by Luke Short (<email address hidden>) on branch: master
Review: https://review.opendev.org/704451

wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ansible (stable/train)

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

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

Reviewed: https://review.opendev.org/706552
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=76fd2eaacc202ab5681d23596ed0f3d25216bb9f
Submitter: Zuul
Branch: master

commit 76fd2eaacc202ab5681d23596ed0f3d25216bb9f
Author: Luke Short <email address hidden>
Date: Fri Feb 7 10:51:11 2020 -0500

    Insert hosts entries to the beginning of the file.

    This ensures that the first host entry found for a host
    will use what is generated by TripleO (if applicable).

    Change-Id: I3a4883bc0c8dfa480ce5fd10ec40f3a9f0cff217
    Closes-Bug: #1861035
    Signed-off-by: Luke Short <email address hidden>

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

Reviewed: https://review.opendev.org/707380
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=724da23104e9ae9da4d8b2588780d18ca8526b59
Submitter: Zuul
Branch: stable/train

commit 724da23104e9ae9da4d8b2588780d18ca8526b59
Author: Luke Short <email address hidden>
Date: Fri Feb 7 10:51:11 2020 -0500

    Insert hosts entries to the beginning of the file.

    This ensures that the first host entry found for a host
    will use what is generated by TripleO (if applicable).

    Change-Id: I3a4883bc0c8dfa480ce5fd10ec40f3a9f0cff217
    Closes-Bug: #1861035
    Signed-off-by: Luke Short <email address hidden>
    (cherry picked from commit 76fd2eaacc202ab5681d23596ed0f3d25216bb9f)

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

This issue was fixed in the openstack/tripleo-ansible 0.5.0 release.

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

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