← Back to team overview

openstack team mailing list archive

Re: Grizzly multi-node setup

 

Hi all,

After hunting ghosts this weekend, I finally found the problem.

- Both my host and controller had firewalls set up blocking AMQP messages
- RabbitMQ binds to **all** network interfaces through :::5672.  Previously
I believed this to be only v6 addresses. I realize now that if the
flag IPV6_V6ONLY is not set, the IPv6 socket will serve both IPv4 and IPv6
traffic. It can be misleading when reading the output of netstat but that
is not an OpenStack problem

Thank you,
Viktor




On Sun, May 5, 2013 at 3:35 PM, Viktor Viking <viktor.viking.se@xxxxxxxxx>wrote:

> Hi Ashok,
>
> In nova.conf I have "rabbit_host=192.168.1.2" both in the controller and
> in the compute node.
>
> The output of netstat for listening ports is:
>
> tcp    0    0   :::5672   :::*    LISTEN    27352/beam
>
> As I said, I have other connections with ESTABLISHED state on 5672
> Viktor
>
>
> On Sun, May 5, 2013 at 3:09 PM, Ashok Kumaran <ashokkumaran.b@xxxxxxxxx>wrote:
>
>> Can you post the value set for rabbitmq_host ?
>>
>> And also the netstat -ntlp   Output
>>
>> Sent from my iPhone
>>
>> On 05-May-2013, at 6:29 PM, Viktor Viking <viktor.viking.se@xxxxxxxxx>
>> wrote:
>>
>>  Hi all,
>>
>> I'm trying to deploy a multi-node Grizzly (one controller, N compute
>> nodes running nova-compute and nova-network).
>>
>> The controller seems to be doing fine.
>>
>> When starting the nova services in the compute node, I get the following
>> error in the log:
>>
>> 2013-05-05 14:28:43.450 INFO nova.openstack.common.rpc.common
>> [ref-f007f3f4-5223-3a3a-add-e059209849039 None None] Reconnecting to AMQP
>> server on 192.168.1.2:5672
>>
>> 2013-05-05 14:28:43.468 ERROR nova.openstack.common.rpc.common
>> [ref-f007f3f4-5223-3a3a-add-e059209849039 None None] AMQP server on
>> 192.168.1.2:5672 is unreachable: timed out. Trying again in 3 seconds.
>>
>> a. I can ping 192.168.1.2 from my compute node
>> b. netstat -an in the controller shows me port 5672 has an ESTABLISHED
>> connection
>>
>> I have not changed any rabbitmq conf (so guest/guest is being used)
>>
>> Any help is appreciated.
>> Viktor
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

References