install undercloud - re-run fails undercloud-passwords.conf file is missing

Bug #1928501 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Harald Jensås

Bug Description

After installing the undercloud, re-running the installer fails with the following error:

The /home/centos/undercloud-passwords.conf file is missing. This will cause all service passwords to change and break the existing undercloud.
An error occurred during configuration validation, please check your host configuration and try again.
Error message: The /home/centos/undercloud-passwords.conf file is missing. This will cause all service passwords to change and break the existing undercloud.

--- Possible workaround
cp tripleo-deploy/undercloud/tripleo-undercloud-passwords.yaml undercloud-passwords.conf

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)
Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
assignee: nobody → Harald Jensås (harald-jensas)
tags: added: wallaby-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.opendev.org/c/openstack/python-tripleoclient/+/791542
Committed: https://opendev.org/openstack/python-tripleoclient/commit/7058c3ee404c9ebfdd6cd0f9ad1b55d0c7a8a44c
Submitter: "Zuul (22348)"
Branch: master

commit 7058c3ee404c9ebfdd6cd0f9ad1b55d0c7a8a44c
Author: Harald Jensås <email address hidden>
Date: Fri May 14 21:56:05 2021 +0200

    Fix undercloud validate password file

    In change: Idded7faba1ff6c811b94503c559029aeeaca6a06 the
    default directory where undercloud generated artifacts
    are stored was changed.

    The undercloud pre-flight check for the password file
    was not updated, cause undercloud install re-run to fail.

    Change-Id: I3f3865cc0f07b3b32e96a42a27a7b03386a1530b
    Closes-Bug: #1928501

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/python-tripleoclient/+/794951

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/python-tripleoclient/+/794951
Committed: https://opendev.org/openstack/python-tripleoclient/commit/72718fec1f5c9d2d89fb1ebeca7b0eacf9a781e9
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 72718fec1f5c9d2d89fb1ebeca7b0eacf9a781e9
Author: Harald Jensås <email address hidden>
Date: Fri May 14 21:56:05 2021 +0200

    Fix undercloud validate password file

    In change: Idded7faba1ff6c811b94503c559029aeeaca6a06 the
    default directory where undercloud generated artifacts
    are stored was changed.

    The undercloud pre-flight check for the password file
    was not updated, cause undercloud install re-run to fail.

    Change-Id: I3f3865cc0f07b3b32e96a42a27a7b03386a1530b
    Closes-Bug: #1928501
    (cherry picked from commit 7058c3ee404c9ebfdd6cd0f9ad1b55d0c7a8a44c)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 17.0.0

This issue was fixed in the openstack/python-tripleoclient 17.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 16.3.0

This issue was fixed in the openstack/python-tripleoclient 16.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.