New dedicated user for Galera SST synchronization

When the Galera is configured to use mariabackup, the
synchronization takes place by connecting to the
database with configuratble user credentials.
Generate a random password for this use case.

Related-Bug: #1973872

(Fixed merge conflict manually to prevent backporting
Ic7ff36a5f3f4eceeb6c8a338093e956b7db00533 with it)

Change-Id: I1509bd30fbd253790b17e04ef15dca6c58de7311
(cherry picked from commit 105a0c8627)
(cherry picked from commit a1f50b819b)
(manually fixed cherry pick backport in test plan)
This commit is contained in:
Damien Ciabrini 2022-04-01 16:05:47 +02:00
parent e759bf395f
commit dfc51dd05c
2 changed files with 3 additions and 0 deletions

View File

@ -112,6 +112,7 @@ PASSWORD_PARAMETER_NAMES = (
'ManilaPassword',
'MistralPassword',
'MysqlClustercheckPassword',
'MysqlMariabackupPassword',
'MysqlRootPassword',
'NeutronMetadataProxySharedSecret',
'NeutronPassword',
@ -162,6 +163,7 @@ DO_NOT_ROTATE_LIST = (
'CephRgwKey',
'HeatAuthEncryptionKey',
'MysqlClustercheckPassword',
'MysqlMariabackupPassword',
'PacemakerRemoteAuthkey',
'PcsdPassword',
)

View File

@ -69,6 +69,7 @@ _EXISTING_PASSWORDS = {
'SwiftPassword': 'z6EWAVfW7CuxvKdzjWTdrXCeg',
'HeatPassword': 'bREnsXtMHKTHxt8XW6NXAYr48',
'MysqlClustercheckPassword': 'jN4RMMWWJ4sycaRwh7UvrAtfX',
'MysqlMariabackupPassword': 'w3qjjJDTKajthzuRYVd4X5YVU',
'CephClientKey': b'AQCQXtlXAAAAABAAKyc+8St8i9onHyu2mPk+vg==',
'NeutronPassword': 'ZxAjdU2UXCV4GM3WyPKrzAZXD',
'DesignatePassword': 'wHYj7rftFzHMpJKnGxbjjR9CW',