Bug 2069076 - [DDF] After restoring the database we have to set the mysql root passwort once again
Summary: [DDF] After restoring the database we have to set the mysql root passwort onc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.1 (Train)
Hardware: All
OS: All
medium
high
Target Milestone: z9
: 16.1 (Train on RHEL 8.2)
Assignee: Juan Larriba
QA Contact: myadla
URL:
Whiteboard:
Depends On: 2024227 2076121
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-28 08:19 UTC by Juan Badia Payno
Modified: 2022-12-07 20:26 UTC (History)
6 users (show)

Fixed In Version: tripleo-ansible-0.5.1-1.20220425094620.902c3c8.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2024227
Environment:
Last Closed: 2022-12-07 20:26:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-14333 0 None None None 2022-03-28 08:32:10 UTC
Red Hat Product Errata RHBA-2022:8795 0 None None None 2022-12-07 20:26:38 UTC

Comment 4 Juan Badia Payno 2022-03-28 08:45:41 UTC
This is the original description of the bugzilla (the previous BZ)

After restoring the database we have to set the mysql root passwort once again. i noticed that after restoring the undercloud database the backup process failed. It failed because it uses the password from hieradata. 
And these are the steps to set the password to the correct one:
- Determining the password: 
root@director~ # hiera -c /etc/puppet/hiera.yaml mysql::server::root_password
- Setting the password:
root@director ~ #  podman exec -ti mysql bash
bash-4.4$ mysqladmin -u root password 

Reported by: rhn-support-tmicheli

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html/backing_up_and_restoring_the_undercloud_and_control_plane_nodes/assembly_restoring-the-undercloud-and-control-plane-nodes_br-undercloud-ctlplane#annotations:6d39c4db-4fca-456d-be2a-22be9813fd9a

Comment 12 errata-xmlrpc 2022-12-07 20:26:20 UTC
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 (Red Hat OpenStack Platform 16.1.9 bug fix and enhancement 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-2022:8795


Note You need to log in before you can comment on or make changes to this bug.