instack-undercloud/instack_undercloud
Michele Baldessari 6842a3cdc6 Set password for mysql root user on undercloud
The port is firewalled off by default so mysql is not reachable except
to localhost users. In any case it is good to set a password for the
mysql root user.

We are 'reusing' the user_db_password parameter, because it is actually
unused, instead of adding yet another parameter.

Tested this change against an existing undercloud and observed that
the mysql root user got a correct password and that the /root/.my.cnf
file got generated.

Closes-Bug: #1742191

Change-Id: I408ce3a0fe2ab8e86bcc280256cdb51688efde75
(cherry picked from commit 955c339af3)
2018-01-11 13:37:54 +01:00
..
tests Using fixtures.MockPatch instead of mockpatch.Patch 2017-11-20 08:45:24 -08:00
__init__.py Pythonize instack-install-undercloud 2015-05-26 14:02:18 +02:00
undercloud.py Set password for mysql root user on undercloud 2018-01-11 13:37:54 +01:00
validator.py Disable VIP validation when UI is enabled 2017-03-30 15:08:36 +00:00