mysql: fix root password update for containerized mysql
Since the mysql service has been containerized, we lost the ability
to update the root password during a stack update.
When the mysql root password in hiera differs from the one currently
set in the mysql DB, connect to the DB with password from .my.cnf and
update credentials of the root user before the puppet mysql module
tries to access the database. Also update other root DB users.
Reviewed: https:/ /review. openstack. org/602499 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=467c6879d62 b27225e3cb57a23 7491cd3505d92b
Committed: https:/
Submitter: Zuul
Branch: master
commit 467c6879d62b272 25e3cb57a237491 cd3505d92b
Author: Damien Ciabrini <email address hidden>
Date: Thu Sep 13 19:06:43 2018 -0400
mysql: fix root password update for containerized mysql
Since the mysql service has been containerized, we lost the ability
to update the root password during a stack update.
When the mysql root password in hiera differs from the one currently
set in the mysql DB, connect to the DB with password from .my.cnf and
update credentials of the root user before the puppet mysql module
tries to access the database. Also update other root DB users.
Change-Id: I8fe9a640ba3628 8a1f9cb18563b36 3159d4731c0 d5bd57f2132e2ac f99702b28ea
Depends-On: I5bdbc89897a6dc
Closes-Bug: #1792416