Re: [Openstack] Problems with rabbitmq + haproxy + cinder

2013-06-07 Thread Samuel Winchenbach
Hi Ray, thanks for the response.

I am using RabbitMQ in mirrored queues mode.  I am setting up a Grizzly
test cluster and didn't realize that support for multiple servers were
added!  That is great news.   I will give that a shot, thanks.

Sam


On Fri, Jun 7, 2013 at 3:16 PM, Ray Pekowski pekow...@gmail.com wrote:


 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.

 Ray

 On Fri, Jun 7, 2013 at 12:48 PM, Samuel Winchenbach swinc...@gmail.comwrote:

 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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Problems with rabbitmq + haproxy + cinder

2013-06-07 Thread Samuel Winchenbach
It doesn't appear that glance supports RabbitMQ HA cluster host:port pairs
or am I missing something?   It seems odd that it would be only the service
not to support it.

Thanks,
Sam


On Fri, Jun 7, 2013 at 3:36 PM, Samuel Winchenbach swinc...@gmail.comwrote:

 Hi Ray, thanks for the response.

 I am using RabbitMQ in mirrored queues mode.  I am setting up a Grizzly
 test cluster and didn't realize that support for multiple servers were
 added!  That is great news.   I will give that a shot, thanks.

 Sam


 On Fri, Jun 7, 2013 at 3:16 PM, Ray Pekowski pekow...@gmail.com wrote:


 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.

 Ray

 On Fri, Jun 7, 2013 at 12:48 PM, Samuel Winchenbach 
 swinc...@gmail.comwrote:

 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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp