55b985f55c
This is a fix/workaround to the package upgrade bug that affects the charm. The post-inst package script updates the .erlang.cookie if it is insecure during the upgrade of rabbit from 3.8 to 3.9. This breaks the series-upgrade resulting in a charm erroring on the post-series-upgrade hook. This fix works by checking if the .erlang.cookie has changed during the post-series-upgrade hook and either updating the cookie in peer storage (if it is insecure) or ensuring that the cookie from peer storage is written to the .erlang.cookie if it isn't the leader. This ensures that the cluster continues to work and that the series-upgrade can be completed across the cluster. Change-Id: I540ea8da85b3b4326ccb8194f1d8b1050b04eae9 Closes-Bug: #2006485 |
||
---|---|---|
.. | ||
__init__.py | ||
test_actions.py | ||
test_check_rabbitmq_queues.py | ||
test_nrpe_checks.py | ||
test_rabbit_utils.py | ||
test_rabbitmq_context.py | ||
test_rabbitmq_server_relations.py | ||
test_ssl_utils.py | ||
test_utils.py |