lp:~tribaal/charms/trusty/rabbitmq-server/fix-le-ignore-min-cluster
- Get this branch:
- bzr branch lp:~tribaal/charms/trusty/rabbitmq-server/fix-le-ignore-min-cluster
Branch merges
- Ryan Beisner (community): Needs Information
- Geoff Teale (community): Approve
- OpenStack Charmers: Pending requested
-
Diff: 204 lines (+52/-39)4 files modifiedMakefile (+1/-1)
hooks/rabbit_utils.py (+23/-23)
hooks/rabbitmq_server_relations.py (+19/-6)
unit_tests/test_rabbit_utils.py (+9/-9)
Related bugs
Related blueprints
Branch information
- Owner:
- Chris Glass
- Status:
- Development
Recent revisions
- 120. By Chris Glass
-
Add Amulet test for trusty/
kilo/leader- election to ensure previously introduced
behavior actually works.Some refactoring around unecessary looping.
- 119. By Adam Collard
-
Address the review comments I made on stable branch
* leader_node() returns something or None
* Fix the retry logic which was crazy bonkers wrong
* Use better Python idioms - 117. By Billy Olsen
-
[thedac,
r=billy- olsen] Ignore min-cluster-size when juju has leadership election.
This MP also addresses two major hurdles to rabbitmq clustering.
1) When more than one node has run stop_app at the same time
nodes cannot join the cluster.2) When using juju leadership election, if the elected leader
is the third or greater node (i.e. rabbitmq/2 +), the leader
would never be joined to the cluster.Changing the clustering algorithm for each non-leader to join_cluster
with the leader resolves this. Also by clustering with the leader
rather than non-leader nodes we avoid split-brain clusters.Closes-Bug: 1500204
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charms/rabbitmq-server