[openstack-dev] [oslo] olso.messaging and Rabbit HA configs

John Wood john.wood at RACKSPACE.COM
Fri Dec 20 16:23:33 UTC 2013


Hello folks,

I would like to configure olso.messaging to work with an HA Rabbit cluster and was curious about the correct configuration to use.

I am setting the following values in my private network:

ampq_durable_queues = True
rabbit_userid=guest
rabbit_password=guest
rabbit_hosts=192.168.50.8:5672, 192.168.50.9:5672
rabbit_ha_queues = True
rabbit_port=5672
transport_url = rabbit://guest@192.168.50.8:5672,guest@192.168.50.9:5672/


...but when I try to remove the 192.168.50.8 Rabbit node I get this error:

2013-12-20 16:12:18.014 24700 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on 192.168.50.8:5672 is unreachable: [Errno 113] No route to host. Trying again in 1 seconds.
2013-12-20 16:12:19.016 24700 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on 192.168.50.8:5672


I was expecting the node at 192.168.50.9 to be used if 192.168.50.8 became unavailable.

Another note is that it appears the transport_url configs are not utilized by the impl_rabbit.py module, hence setting the 'rabbit_hosts' separately.

Thanks in advance,
John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131220/ae2b15ac/attachment.html>


More information about the OpenStack-dev mailing list