[Openstack] RabbitMQ, HAProxy, and OpenStack

Craig Jellick cjellick at godaddy.com
Tue May 6 15:11:22 UTC 2014

HI all,

Does anyone have experience using HAProxy as a load balancer in front of a RabbitMQ cluster for OpenStack?

We have this setup in our lab and it is very susceptible to queue disconnects. In particular, the neutron security group fanout queues (q-agent-notifier-security_group-update_fanout_<random id>) will lose their client connections and back up with a lot of messages. The clients to these queues are the openstack-neutron-openvswitch-agent services.

This happens every time we hit the configured HAProxy TCP timeout. It can also happen if a Rabbit node that has a connection is restarted, if HAProxy is restarted, or if there is basically any interruption in the connection between the clients and HAProxy.

Finally, its worth noting that in our prod environment we are using F5 load balancers and we don't see this problem occur for TCP timeouts, which is the most common source of this problem in our lab environment.

Thanks in advance.

/Craig J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140506/99b52d6d/attachment.html>

More information about the Openstack mailing list