Merge lp://staging/~freyes/charms/trusty/rabbitmq-server/mirroring-queues into lp://staging/charms/trusty/rabbitmq-server
Status: | Superseded |
---|---|
Proposed branch: | lp://staging/~freyes/charms/trusty/rabbitmq-server/mirroring-queues |
Merge into: | lp://staging/charms/trusty/rabbitmq-server |
Diff against target: |
345 lines (+231/-22) 8 files modified
.bzrignore (+2/-0) Makefile (+17/-7) config.yaml (+6/-0) hooks/rabbit_utils.py (+106/-15) hooks/rabbitmq_server_relations.py (+8/-0) setup.cfg (+5/-0) test-requirements.txt (+3/-0) tests/40_test_mirroring_queues.py (+84/-0) |
To merge this branch: | bzr merge lp://staging/~freyes/charms/trusty/rabbitmq-server/mirroring-queues |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
charmers | Pending | ||
Review Queue | automated testing | Pending | |
Review via email: mp+246936@code.staging.launchpad.net |
This proposal supersedes a proposal from 2015-01-19.
This proposal has been superseded by a proposal from 2015-01-19.
Description of the change
Dear Charmers,
This MP adds support for mirrored queues when the configuration key 'mirroring-queues' is set to True.
When this new configuration is True (which is the default) the charm will set a policy to all the vhosts, the policy sets ha-mode to 'all' and it applies to amqp exchanges and queues that match '^(?!amq\.).*'.
More details about how policies enable HA in rabbitmq can be found at http://
Also this MP adds an amulet script to test the deployment of rabbitmq-server (2 units), this test declares a queue and publishes a message in one of the hosts, and then consumes the message from the other unit.
Thanks,
charm_unit_test #734 trusty- rabbitmq- server for freyes mp246249
UNIT OK: passed
Build: http:// 10.245. 162.77: 8080/job/ charm_unit_ test/734/