Thank you, i simply reinstalled rabbitmq server and restarted nova api, now things looks fine.
Thanks. On Tue, May 15, 2012 at 3:08 PM, Bilel Msekni <ski...@hotmail.fr> wrote: > Le 15/05/2012 11:14, Shashi Kanth Boddula a écrit : > > Essex on Ubuntu 12.04. > > I am seeing these messages in noa-api.log file, and the nova is not > functional in dashboard. I believe the problem is with rabbitmq, but i > don't know how to solve this situation. > > > 2012-05-15 14:20:11 ERROR nova.rpc.common > [req-1d70ea22-fb6e-4be8-84f5-54cfd78698ac 0c1bd987f8b84088983e17645067c225 > 488ef90f59fd4bf68fc78f7086556af2] AMQP server on localhost:5672 is > unreachable: Socket closed. Trying again in 30 seconds. > 2012-05-15 14:20:11 TRACE nova.rpc.common Traceback (most recent call > last): > 2012-05-15 14:20:11 TRACE nova.rpc.common File > "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 446, in > reconnect > 2012-05-15 14:20:11 TRACE nova.rpc.common self._connect() > 2012-05-15 14:20:11 TRACE nova.rpc.common File > "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 423, in > _connect > 2012-05-15 14:20:11 TRACE nova.rpc.common self.connection.connect() > 2012-05-15 14:20:11 TRACE nova.rpc.common File > "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 154, in connect > 2012-05-15 14:20:11 TRACE nova.rpc.common return self.connection > 2012-05-15 14:20:11 TRACE nova.rpc.common File > "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 560, in > connection > 2012-05-15 14:20:11 TRACE nova.rpc.common self._connection = > self._establish_connection() > 2012-05-15 14:20:11 TRACE nova.rpc.common File > "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 521, in > _establish_connection > 2012-05-15 14:20:11 TRACE nova.rpc.common conn = > self.transport.establish_connection() > 2012-05-15 14:20:11 TRACE nova.rpc.common File > "/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 255, > in establish_connection > 2012-05-15 14:20:11 TRACE nova.rpc.common > connect_timeout=conninfo.connect_timeout) > 2012-05-15 14:20:11 TRACE nova.rpc.common File > "/usr/lib/python2.7/dist-packages/kombu/transport/pyamqplib.py", line 52, > in __init__ > 2012-05-15 14:20:11 TRACE nova.rpc.common super(Connection, > self).__init__(*args, **kwargs) > 2012-05-15 14:20:11 TRACE nova.rpc.common File > "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py", line > 144, in __init__ > 2012-05-15 14:20:11 TRACE nova.rpc.common (10, 30), # tune > 2012-05-15 14:20:11 TRACE nova.rpc.common File > "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/abstract_channel.py", > line 95, in wait > 2012-05-15 14:20:11 TRACE nova.rpc.common self.channel_id, > allowed_methods) > 2012-05-15 14:20:11 TRACE nova.rpc.common File > "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py", line > 202, in _wait_method > 2012-05-15 14:20:11 TRACE nova.rpc.common > self.method_reader.read_method() > 2012-05-15 14:20:11 TRACE nova.rpc.common File > "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/method_framing.py", > line 221, in read_method > 2012-05-15 14:20:11 TRACE nova.rpc.common raise m > 2012-05-15 14:20:11 TRACE nova.rpc.common IOError: Socket closed > 2012-05-15 14:20:11 TRACE nova.rpc.common > > > > # service rabbitmq-server status > Status of node rabbit@openstack ... > [{pid,2137}, > {running_applications,[{rabbit,"RabbitMQ","2.7.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:24:24] > [rq:24] [async-threads:30] [kernel-poll:true]\n"}, > {memory,[{total,26413240}, > {processes,10154960}, > {processes_used,10134760}, > {system,16258280}, > {atom,1124441}, > {atom_used,1120341}, > {binary,69304}, > {code,11134417}, > {ets,742384}]}, > {vm_memory_high_watermark,0.39999999997628105}, > {vm_memory_limit,13491309772}] > ...done. > > > > > -- > Thanks & Regards, > Shashi Kanth > > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > > Nova connects to RabbitMQ through the defaults values ( localhost:5672) > and credentials (guest) > Check for the address of your rabbitMQ in the config file > (/etc/rabbitmq/rabbitMQ.config) > > and do this > nano /etc/rabbitmq/rabbitmq.config > [{rabbit, [{tcp_listeners, [{"127.0.0.1",5672}] }] } ]. #Paste this line > #Exit and SAVE > service start rabbitmq-server > > This certainly will make your rabbitMQ talk to Nova. otherwise there is > something wrong with your nova > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > > -- Thanks & Regards, Shashi Kanth
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp