rabbitmq-server charm does not setup HA mode with MAAS provide
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rabbitmq-server (Juju Charms Collection) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
1. Description of the problem:
rabbitmq-server charm shows inconsistent behavior between local provider and MAAS provider. In MAAS provider, rabbitmq cluster is not set up properly.
2. Ubuntu release, software version, Release Number and Architecture of the selected components.
Ubuntu 14.04 LTS
maas: 1.5.1+bzr2269-
juju-core: 1.18.1-0ubuntu1
rabbitmq-server charm: http://
3. How reproducible is the problem?
( easily with the test case, intermittent, on every boot, etc)
always
4. Steps to Reproduce:
( detailed enough for someone else to reproduce easily, scripts are welcome )
* create maas and local provider environment
* juju deploy -n2 cs:trusty/
* juju ssh rabbitmq-server/0 'sudo rabbitmqctl cluster_status'
a. Actual Results:
1 node in cluster_status
====
ubuntu@
Cluster status of node 'rabbit@
[{nodes,
{running_
{partitions,[]}]
...done.
====
b. Expected Results:
2 nodes in cluster_status.
====
Cluster status of node 'rabbit@
[{nodes,
{running_
{partitions,[]}]
...done.
====
Related branches
- Liam Young (community): Approve
- Review Queue (community): Needs Fixing (automated testing)
-
Diff: 33 lines (+16/-0)1 file modifiedhooks/rabbitmq_server_relations.py (+16/-0)
tags: | added: canonical-is |
Changed in rabbitmq-server (Juju Charms Collection): | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
tags: | added: cts |
Changed in rabbitmq-server (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
I am also wondering which behavior is correct. If HA was correct and running, should we see (a. Actual Results:) or (b. Expected Results:)?
What commands can we run to check that rabbitmq-server is correctly running in HA? On which machines should we run these commands?