← Back to team overview

openstack team mailing list archive

Re: Problems with rabbitmq + haproxy + cinder


Seems like it might have something to do with IPv6.  It looks like RabbitMQ
is only listening on IPv6.  Note the :::5673.  Maybe you could look into
how to configure RabbitMQ to listen on IPv4.

But I am curious why you don't just use the HA capabilities of RabbitMQ?
Are you on Folsom?  I think OpenStack RPC added support for multiple
RabbitMQ servers and HA in Grizzly.  I suppose you could backport that
feature, but might be a pain.


On Fri, Jun 7, 2013 at 12:48 PM, Samuel Winchenbach <swinchen@xxxxxxxxx>wrote:

> Hi all, I am having a few troubles getting haproxy and cinder-api to work
> together correctly.  If I set the rabbit_host & port to the actual service
> (not through haproxy) it seems to work fine.  The following is a bunch of
> debugging information:
> Here are the errors in my cinder log:
> http://pastie.org/pastes/8020123/text
> Here are the non-default cinder configuration options:
> http://pastie.org/pastes/8020082/text
> Note: I have cinder running on a non-standard port because ultimately it
> too will be load balanced with haproxy.
> Here is a section my haproxy-int.cfg:
> http://pastie.org/pastes/8020077/text
> Status, permissions, and policies of the rabbitmq cluster:
> http://pastie.org/pastes/8020114/text
> Does anyone see anything wrong, or have suggestions?
> Thanks so much!
> P.S. If anyone can explain the difference between logdir and log_dir that
> would be awesome!
> Thanks,
> Sam
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

Follow ups