Attempting to cluster rabbitmq-server with 'add-unit' doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rabbitmq-server (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
rabbitmq-server has peer relations to setup mirrored queues, however, these hooks do not correctly setup the cluster. In the charm log on the new unit, I see:
2012-12-06 22:31:27,590: hook.executor@
2012-12-06 22:31:27,636: statemachine@DEBUG: unitworkflowstate: transition complete configure (state started) {}
2012-12-06 22:31:27,647: juju.agents.
2012-12-06 22:31:27,973: unit.hook.api@INFO: rabbitmq-server: Firing hook cluster-
2012-12-06 22:31:28,782: hook.output@INFO: Stopping rabbitmq-server:
2012-12-06 22:31:29,065: hook.output@INFO: rabbitmq-server.
2012-12-06 22:31:29,089: hook.output@INFO: Starting rabbitmq-server:
2012-12-06 22:31:31,958: hook.output@INFO: SUCCESS
2012-12-06 22:31:31,964: hook.output@INFO: rabbitmq-server.
2012-12-06 22:31:32,201: hook.output@INFO: Resetting node 'rabbit@
2012-12-06 22:31:32,217: hook.output@ERROR: Error: mnesia_
2012-12-06 22:31:32,469: hook.output@INFO: Clustering node 'rabbit@
2012-12-06 22:31:32,486: hook.output@ERROR: Error: mnesia_
2012-12-06 22:31:32,723: hook.output@INFO: Starting node 'rabbit@
2012-12-06 22:31:32,842: hook.output@INFO: ...done.
2012-12-06 22:31:33,158: unit.hook.api@INFO: rabbitmq-server: Hook cluster-
2012-12-06 22:31:33,199: hook.output@DEBUG: hook cluster-
2012-12-06 22:31:33,225: hook.executor@
'rabbitmqctl cluster_status' shows no running cluster. The charm needs to be updated to do this properly, and hooks should fail if such errors are encountered.
Related branches
- James Page: Needs Fixing
-
Diff: 190 lines (+64/-53)3 files modifiedhooks/rabbitmq-common (+9/-7)
hooks/rabbitmq-relations (+54/-45)
revision (+1/-1)
Changed in rabbitmq-server (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
The "Related branches" bit lists a branch as merged, so marking as fix committed.