Comment 10 for bug 1274947

Revision history for this message
JuanJo Ciarlante (jjo) wrote :

This issue makes several HA services to fail (or split-brain):
* rabbitmq-server:
Followup from above, this MP[0] forces rabbit nodename to be the resolvable hostname for private-address[0], and fixes it clustering.
* mongodb:
No way: mongod uses gethostname() at rs.initiate() to initialize cluster (--replSet ...), then it fails because it can't connect to itself via $HOSTNAME, I'm using this (brute-force) script[1] to work-around it.

[0] https://code.launchpad.net/~jjo/charms/trusty/rabbitmq-server/fix-nodename-to-host-dns-PTR
[1] https://gist.github.com/jjo/198e27c8e44f68724fcd