[openstack-dev] [oslo] olso.messaging and Rabbit HA configs
john.wood at RACKSPACE.COM
Fri Dec 20 16:23:33 UTC 2013
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_ha_queues = True
transport_url = rabbit://email@example.com:5672,firstname.lastname@example.org: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,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev