ERROR nova.rpc.impl_qpid [-] Unable to connect to AMQP server: None(already open)

Asked by Truong Pham

I'm getting below error from compute_log and my instance is sitting at build state

2012-07-26 16:28:01 ERROR nova.rpc.impl_qpid [-] Unable to connect to AMQP server: None(already open)
2012-07-26 16:28:02 ERROR nova.rpc.impl_qpid [-] Unable to connect to AMQP server: None(already open)
2012-07-26 16:28:03 ERROR nova.rpc.impl_qpid [-] Unable to connect to AMQP server: None(already open)
2012-07-26 16:28:04 ERROR nova.rpc.impl_qpid [-] Unable to connect to AMQP server: None(already open)
2012-07-26 16:28:05 ERROR nova.rpc.impl_qpid [-] Unable to connect to AMQP server: None(already open)
2012-07-26 16:28:06 ERROR nova.rpc.impl_qpid [-] Unable to connect to AMQP server: None(already open)

 nova list
+--------------------------------------+---------+--------+----------+
| ID | Name | Status | Networks |
+--------------------------------------+---------+--------+----------+
| 9021010f-e67e-434f-9228-f9b275fcb99e | Centos5 | BUILD | |

# /etc/init.d/rabbitmq-server status
Status of node rabbit@HOSTNAME ...
[{pid,7715},
 {running_applications,[{rabbit,"RabbitMQ","2.6.1"},
                        {os_mon,"CPO CXC 138 46","2.2.7"},
                        {sasl,"SASL CXC 138 11","2.1.10"},
                        {mnesia,"MNESIA CXC 138 12","4.5"},
                        {stdlib,"ERTS CXC 138 10","1.17.5"},
                        {kernel,"ERTS CXC 138 10","2.14.5"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:16:16] [rq:16] [async-threads:30] [kernel-poll:true]\n"},
 {memory,[{total,25676288},
          {processes,9966920},
          {processes_used,9959800},
          {system,15709368},
          {atom,1119593},
          {atom_used,1112678},
          {binary,83728},
          {code,11053747},
          {ets,742688}]}]
...done.

# for n in api compute network objectstore scheduler cert ; do service openstack-nova-$n status; done
openstack-nova-api (pid 8942) is running...
openstack-nova-compute (pid 8957) is running...
openstack-nova-network (pid 8976) is running...
openstack-nova-objectstore (pid 8995) is running...
openstack-nova-scheduler (pid 9014) is running...
openstack-nova-cert (pid 9048) is running...

Any idea?

Thanks,
--Truong

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Takahiro Shida
Solved:
Last query:
Last reply:
Revision history for this message
koolhead17 (koolhead17) said :
#1

Is your Rabbit related config mentined correctly inside nova.conf ?

Revision history for this message
Truong Pham (truongdpham) said :
#2

This is my RabbitMQ setting in nova.conf:

# RABBITMQ
rabbit_host=localhost
rabbit_port = 5672

Revision history for this message
Best Takahiro Shida (shida-takahiro) said :
#3

You use Rabbit, but the log say ' ERROR nova.rpc.impl_qpid '
Check the rpc_backend settings.

# Default value is nova.rpc.impl_kombu

Revision history for this message
Truong Pham (truongdpham) said :
#4

Thanks Takahiro Shida, that solved my question.

Revision history for this message
Pádraig Brady (p-draigbrady) said :
#5

Note the reason you were getting "None(already open)" with qpidd was due to authentication.
You can set 'auth=no' in /etc/qpidd.conf and `service qpidd restart` and restart all the openstack services,
to get them to reconnect to qpidd.