rabbitmq-server slave charm executes too much

Bug #1287300 reported by Gema Gomez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
New
Undecided
Unassigned

Bug Description

when in HA, rabbitmq-server slave charm executes ['/usr/sbin/rabbitmqctl', 'list_vhosts']

solution: in HA, slave node is not running rabbitmq; do not even try communicating with rabbit. Problem identified in line

in update_nrpe_checks()
    rabbit.create_vhost(vhost) -> shouldn't be happening on slave mode

How to reproduce:

1) Deploy ha openstack by running:

> juju-deployer --bootstrap -c default.yaml precise-havana
 -> from this branch:
lp:~openstack-charmers/+junk/openstack-charm-testing-ha

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.