Add support to changing the Rabbitmq password on update
Rabbitmq Password is set on the fresh deployment, but during
update, if the password is changed, it is modified in all config
files including rabbitmq config. But the rabbitmq connection fails
because the new password is not successful applied to rabbitmq.
Setting the rabbitmq_user will invoke 'rabbitmqctl change_password'.
Scenario: The password change is applied on Step1 when configuring
Rabbitmq. Other services may be updated on different Steps. Till
other services config is updated with new rabbitmq password, and
restarted, the connections will get Access Denied response. It has
cyclic dependency. So the passwords will be changes at Step1 and
once all services are updated, the connections will work as is.
Partial-Bug: #1611704
Change-Id: I44865af3d5eb2d37eb648ac7227277e86c8fbc54
(cherry picked from commit 76931e535c69ab437c4710dc749bc363f4533ea5)
Reviewed: https:/ /review. openstack. org/451742 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=b5f07ccb1d1 cacb122d8d7d78b e1bf4661813504
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit b5f07ccb1d1cacb 122d8d7d78be1bf 4661813504
Author: Saravanan KR <email address hidden>
Date: Thu Nov 24 19:35:59 2016 +0530
Add support to changing the Rabbitmq password on update
Rabbitmq Password is set on the fresh deployment, but during
update, if the password is changed, it is modified in all config
files including rabbitmq config. But the rabbitmq connection fails
because the new password is not successful applied to rabbitmq.
Setting the rabbitmq_user will invoke 'rabbitmqctl change_password'.
Scenario: The password change is applied on Step1 when configuring
Rabbitmq. Other services may be updated on different Steps. Till
other services config is updated with new rabbitmq password, and
restarted, the connections will get Access Denied response. It has
cyclic dependency. So the passwords will be changes at Step1 and
once all services are updated, the connections will work as is.
Partial-Bug: #1611704 37eb648ac722727 7e86c8fbc54 37c4710dc749bc3 63f4533ea5)
Change-Id: I44865af3d5eb2d
(cherry picked from commit 76931e535c69ab4