Rerunning openstack undercloud install fails when using output_dir --- Error message: The /home/stack/undercloud-passwords.conf file is missing. This will cause all service passwords to change and break the existing undercloud. Redeployment fails with: ~~~ Error message: The /home/stack/undercloud-passwords.conf file is missing. This will cause all service passwords to change and break the existing undercloud. ~~~ Customer provided this in undercloud.conf: ~~~ output_dir = /home/stack/undercloud-deployment-output-directory ~~~ - deploy the undecloud. The initial deployment will complete with below message: ~~~ <snip> [...] ########################################################## The Undercloud has been successfully installed. Useful files: Password file is at ~/undercloud-passwords.conf The stackrc file is at ~/stackrc Use these files to interact with OpenStack services, and ensure they are secured. ########################################################## </snip> ~~~ - update any configuration from the undercloud conf - try to redeploy - it will fail with: --- Error message: The /home/stack/undercloud-passwords.conf file is missing. This will cause all service passwords to change and break the existing undercloud. --- ----------------- More details: ~~~ (undercloud) [stack@786895-director01 ~]$ openstack undercloud install The /home/stack/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/stack/undercloud-passwords.conf file is missing. This will cause all service passwords to change and break the existing undercloud. ~~~ Workaround: ~~~ (undercloud) [stack@786895-director01 ~]$ find . -name undercloud-passwords.conf ./undercloud-deployment-output-directory/undercloud-passwords.conf (undercloud) [stack@786895-director01 ~]$ cp ./undercloud-deployment-output-directory/undercloud-passwords.conf . ~~~ ~~~ [stack@786895-director01 ~]$ openstack undercloud install Running: (... this now works ...) ~~~
Move undercloud-passwords.conf file to /home/stack/undercloud-deployment-output-directory/ and rerun undercloud deployment
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:3148