Add support to changing the Rabbitmq password on update
authorSaravanan KR <skramaja@redhat.com>
Thu, 24 Nov 2016 14:05:59 +0000 (19:35 +0530)
committerSaravanan KR <skramaja@redhat.com>
Fri, 3 Feb 2017 10:45:50 +0000 (16:15 +0530)
commit76931e535c69ab437c4710dc749bc363f4533ea5
tree409175c1b570494de1b673705c98ada0067d5d75
parenta75c6c618e34d74389b9963f994f5e18ec29674a
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
manifests/profile/base/rabbitmq.pp
releasenotes/notes/rabbitmq_password_change-4fce15c9ebb0e20c.yaml [new file with mode: 0644]