cluster_ready() returns False if the leader changed after the deployment
Bug #1691510 reported by
Felipe Reyes
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack RabbitMQ Server Charm |
Fix Released
|
High
|
Felipe Reyes |
Bug Description
cluster_ready() relies on the 'clustered' key to decide if a related peer joined the cluster or not[0], but the leader during the first deployment doesn't set itself as clustered, [1] will be always True for the leader so it will never reach to relation_
Workaround:
* Set clustered property
$ juju run --application rabbitmq-server 'relation-set -r `relation-ids cluster` clustered=
[0] https:/
[1] https:/
Changed in charm-rabbitmq-server: | |
assignee: | nobody → Felipe Reyes (freyes) |
tags: | added: backport-potential |
tags: |
added: stable-backport removed: backport-potential |
Changed in charm-rabbitmq-server: | |
milestone: | none → 17.08 |
importance: | Undecided → High |
Changed in charm-rabbitmq-server: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/467684
Review: https:/