packstack安装openstack出现Failed synchronizing routers...

发表于 2015-12-24   |   分类于 技术

openstack在用packstack安装过程中出现以下错误:

2015-12-23 21:48:35.572 4731 ERROR neutron.agent.l3.agent [-] Failed synchronizing routers due to RPC error
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent Traceback (most recent call last):
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 520, in fetch_and_sync_all_routers
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent     routers = self.plugin_rpc.get_routers(context)
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 92, in get_routers
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent     router_ids=router_ids)
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 156, in call
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent     retry=self.retry)
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent     timeout=timeout, retry=retry)
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 350, in send
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent     retry=retry)
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 341, in _send
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent     raise result
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent RemoteError: Remote error: AgentNotFoundByTypeHost Agent with agent_type=L3 agent and host=nfvi could not be found
2015-12-23 21:48:35.572 4731 TRACE neutron.agent.l3.agent [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply\n    executor_callback))\n', u'  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch\n    executor_callback)\n', u'  File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch\n    result = func(ctxt, **new_args)\n', u'  File "/usr/lib/python2.7/site-packages/neutron/api/rpc/handlers/l3_rpc.py", line 81, in sync_routers\n    context, host, router_ids))\n', u'  File "/usr/lib/python2.7/site-packages/neutron/db/l3_agentschedulers_db.py", line 290, in list_active_sync_routers_on_active_l3_agent\n    context, constants.AGENT_TYPE_L3, host)\n', u'  File "/usr/lib/python2.7/site-packages/neutron/db/agents_db.py", line 197, in _get_agent_by_type_and_host\n    host=host)\n', u'AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and host=nfvi could not be found\n'].

请确认controller和compute服务器上的时间是否同步。

发表新评论

© 2017 Powered by Typecho
苏ICP备15035969号-3