Remove listener to monitor dcmanager keystone password

Because the dcmanager password is not referenced by the
cert-mon.conf in the subcloud, there's no need to update
anything during subcloud re-homing in the subcloud. This
commits removes keystone listener support to apply the
puppet manifest for dcmanager keystone password change.

Test passed:
Update the dcmanager's password, verify that the runtime
class for dcmanager did not get applied.

Story: 2010230
Task: 46943

Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com>
Change-Id: I11b1e4030f16b49a331f06f738d359d6a617042f
This commit is contained in:
Yuxing Jiang 2022-11-24 09:10:41 -05:00
parent 824e35f88e
commit 1ae6a8cdc3

View File

@ -196,14 +196,13 @@ LOCK_RUNTIME_CONFIG_CHECK = 'runtime_config_check'
# Keystone users whose passwords change are monitored by keystone listener, and
# the puppet classes to update the service after the passwords change.
# TODO(yuxing): there are still several keystone users are not covered by this
# dictionary, e.g. dcorch,dcdbsync, and smapi etc. Need to consider to
# create puppet class to reload the related service in case their passwords
# dictionary, e.g. dcmanager, dcorch,dcdbsync, and smapi etc. Need to consider
# to create puppet class to reload the related service in case their passwords
# are changed in keystone and keyring.
KEYSTONE_USER_PASSWORD_UPDATE = {
"sysinv": "openstack::keystone::sysinv::password::runtime",
"admin": "openstack::keystone::password::runtime",
"barbican": "openstack::keystone::barbican::password::runtime",
"dcmanager": "openstack::keystone::dcmanager::password::runtime",
"fm": "openstack::keystone::fm::password::runtime",
"mtce": "platform::mtce::runtime",
"patching": "openstack::keystone::patching::password::runtime",