bilelmsekni / OpenStack-Grizzly-Install-Guide

A full install guide for OpenStack Grizzly
352 stars 218 forks source link

quantum agent-list returns empty #72

Closed snrashmisn closed 11 years ago

snrashmisn commented 11 years ago

Please help us debug this issue.

Logs indicate:

2013-06-07 15:20:59 ERROR [quantum.agent.l3_agent] Failed synchronizing routers Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 637, in _sync_routers_task context, router_id) File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 77, in get_routers topic=self.topic) File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/proxy.py", line 80, in call return rpc.call(context, self._get_topic(topic), msg, timeout) File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/init.py", line 140, in call return _get_impl().call(CONF, context, topic, msg, timeout) File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/impl_kombu.py", line 798, in call rpc_amqp.get_connection_pool(conf, Connection)) File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 613, in call rv = list(rv) File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 562, in iter raise result RemoteError: Remote error: AgentNotFoundByTypeHost Agent with agent_type=L3 agent and host=network.xxx.com could not be found

rszabo50 commented 11 years ago

It is possible to let us know what your resolution was

snrashmisn commented 11 years ago

You can make sure , if the agents entry are listed in the database quantum. Without any changes, after sometime, we could see the agents list. Not sure , how was it fixed. This happened in 2 grizzly setup of ours. Not sure if there is a sync that happens periodically. In the agent list, we saw xxx instead of :-) , this was due to different time-stamps in different nodes, after the time was made the same, the agents started showing the state ":-)"