Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and host=host could not be found

Hello,

I am running openstack juno on debian wheezy regarding to manual manual

and I am now facing an interesting error in network node

2014-12-07 23:41:03.304 8965 ERROR oslo.messaging.rpc.dispatcher [req-11f3368d-89ff-4c32-a34e-3df7a46a5813 ] Exception during message handling: Agent with agent_type=L3 agent and host=Host could not be found
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/neutron/api/rpc/handlers/l3_rpc.py", line 78, in sync_routers
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher     context, host, router_ids))
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/neutron/db/l3_agentschedulers_db.py", line 283, in list_active_sync_routers_on_active_l3_agent
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher     context, constants.AGENT_TYPE_L3, host)
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/neutron/db/agents_db.py", line 157, in _get_agent_by_type_and_host
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher     host=host)
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and host=Host could not be found
2014-12-07 23:41:03.304 8965 TRACE oslo.messaging.rpc.dispatcher 
2014-12-07 23:41:03.306 8965 ERROR oslo.messaging._drivers.common [req-11f3368d-89ff-4c32-a34e-3df7a46a5813 ] Returning exception Agent with agent_type=L3 agent and host=Host could not be found to caller
2014-12-07 23:41:03.307 8965 ERROR oslo.messaging._drivers.common [req-11f3368d-89ff-4c32-a34e-3df7a46a5813 ] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply\n    incoming.message))\n', '  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch\n    return self._do_dispatch(endpoint, method, ctxt, args)\n', '  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch\n    result = getattr(endpoint, method)(ctxt, **new_args)\n', '  File "/usr/lib/python2.7/dist-packages/neutron/api/rpc/handlers/l3_rpc.py", line 78, in sync_routers\n    context, host, router_ids))\n', '  File "/usr/lib/python2.7/dist-packages/neutron/db/l3_agentschedulers_db.py", line 283, in list_active_sync_routers_on_active_l3_agent\n    context, constants.AGENT_TYPE_L3, host)\n', '  File "/usr/lib/python2.7/dist-packages/neutron/db/agents_db.py", line 157, in _get_agent_by_type_and_host\n    host=host)\n', 'AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and host=Host could not be found\n']

the command neutron agent-list return nothing but every other neutron command such as net-list or ext-list works properly have you any idea?