rmq-server endpoints mixed although access-network specified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rabbitmq-server (Juju Charms Collection) |
Fix Released
|
Medium
|
James Page |
Bug Description
Hi,
Ubuntu Trusty
Juju 1.25.5
Liberty
rmq-server revno=110
RMQ LXCs have eth0 (on 192.168.17.0/24) and eth1 (on 192.168.21.0/24 netblock).
access-
All services (cinder, nova, etc.) are configuring their .conf file as:
"""
# 2 hosts on netblock#1 and 3rd host (correctly) on netblock#2
rabbit_hosts = 192.168.
"""
Cluster status is:
"""
root@juju-
Cluster status of node 'rabbit@
[{nodes,
{running_
{cluster_
{partitions,
"""
Shouldn't "rabbit_hosts" parameter on .conf files point only to IPs on same netblock as access-network describes? I understand it might be a fallback but all LXCs have both IPs (ie: second one should've been detected).
Please let me know if you would need any further detail.
Thank you.
Changed in rabbitmq-server (Juju Charms Collection): | |
status: | Incomplete → New |
Changed in rabbitmq-server (Juju Charms Collection): | |
importance: | Undecided → Low |
Changed in rabbitmq-server (Juju Charms Collection): | |
status: | In Progress → Fix Released |
Yes - the RMQ units should be presenting access details on the:
access- network= '192.168. 21.0/24'
configuration; looks like one of them is, and the others are falling back to private-address which is the behaviour if an address in the subnet cannot be resolved for a given unit.
Can you ensure that all nics are fully configured within each container?
FWIW the cluster status looks OK - that will currently always bind to private-address to ensure host resolvability, otherwise RMQ just explodes.