Ask Your Question

ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 30 seconds.

asked 2015-05-14 05:22:40 -0500

Suji gravatar image

Hi all,

I'm doing KIlo openstack installation, all the neutron,nova services are running fine in controller node and rabbitmq service is also running fine.

When I installed the compute node, the nova-compute service is running but it is not connecting to the controller node with the error AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED.

in the nova.conf , i nowhere mentioned the word localhost still it is looking for localhost.

Please help me on this issue.

Thanks in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-14 07:07:16 -0500

updated 2015-05-14 07:49:54 -0500

Try to move rabbitMQ setting from Rabbitmq section to default section in nova.conf on compute node.

I am just adding my working sample from compute (RDO Kilo) - at the bottom on nova.conf

edit flag offensive delete link more


hi , I've tried this but it is not working. I got the same error even after moving the rabbitmq section from [oslo_messaging_rabbit] to default section in nova.conf.

Is that mandatory to move the rabbitmq section to default section even in nova.conf of controller node

Suji gravatar imageSuji ( 2015-05-14 07:38:17 -0500 )edit

NO. On RDO Kilo [oslo_messaging_rabbit] works

dbaxps-Second-Incarnation gravatar imagedbaxps-Second-Incarnation ( 2015-05-14 07:42:06 -0500 )edit

I'm installing openstack in ubuntu 14.04.2 and I tried by giving rabbit section in both default and [oslo_messaging_rabbit].

[oslo_messaging_rabbit] rabbit_host = rabbit_userid = openstack rabbit_password = RABBIT_PASS

this is what there in nova.conf file in compute node

Suji gravatar imageSuji ( 2015-05-14 07:47:00 -0500 )edit

I added sample to answer, it's done by packstack during three node deployment (Controller,Network,Compute)

dbaxps-Second-Incarnation gravatar imagedbaxps-Second-Incarnation ( 2015-05-14 07:53:12 -0500 )edit

oh thanks, is that required to add all the details like rabbit_host, rabbit_port etc as u mentioned in the sample. bcoz i gave only rabbit_host, rabbit_userid and rabbit_password.

Suji gravatar imageSuji ( 2015-05-14 07:59:31 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-05-14 05:22:40 -0500

Seen: 16,330 times

Last updated: May 14 '15