这里贴出一个有问题的日志,但我 不知道该怎么解决,重启了nova,neutron服务还是不行
[root@controller ~]# cat /var/log/neutron/l3-agent.log
2015-12-20 12:49:48.643 3714 INFO neutron.common.config [-] Logging enabled!
2015-12-20 12:49:48.783 3714 INFO neutron.openstack.common.rpc.impl_qpid [req-7983c877-cc04-4c46-ba02-ed8f7b5cdb50 None] Connected to AMQP server on controller:5672
2015-12-20 12:49:48.787 3714 INFO neutron.openstack.common.rpc.impl_qpid [req-7983c877-cc04-4c46-ba02-ed8f7b5cdb50 None] Connected to AMQP server on controller:5672
2015-12-20 12:49:48.815 3714 INFO neutron.openstack.common.rpc.impl_qpid [req-7983c877-cc04-4c46-ba02-ed8f7b5cdb50 None] Connected to AMQP server on controller:5672
2015-12-20 12:49:48.824 3714 INFO neutron.agent.l3_agent [req-7983c877-cc04-4c46-ba02-ed8f7b5cdb50 None] L3 agent started
2015-12-20 12:50:10.658 3714 INFO neutron.openstack.common.service [req-7983c877-cc04-4c46-ba02-ed8f7b5cdb50 None] Caught SIGTERM, exiting
2015-12-20 12:50:13.271 4826 INFO neutron.common.config [-] Logging enabled!
2015-12-20 12:50:13.427 4826 INFO neutron.openstack.common.rpc.impl_qpid [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] Connected to AMQP server on controller:5672
2015-12-20 12:50:13.431 4826 INFO neutron.openstack.common.rpc.impl_qpid [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] Connected to AMQP server on controller:5672
2015-12-20 12:50:13.486 4826 INFO neutron.openstack.common.rpc.impl_qpid [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] Connected to AMQP server on controller:5672
2015-12-20 12:50:13.491 4826 INFO neutron.agent.l3_agent [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] L3 agent started
2015-12-20 12:50:13.511 4826 INFO neutron.openstack.common.rpc.impl_qpid [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] Connected to AMQP server on controller:5672
2015-12-20 12:51:13.552 4826 ERROR neutron.agent.l3_agent [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] Failed reporting state!
2015-12-20 12:51:13.552 4826 TRACE neutron.agent.l3_agent Traceback (most recent call last):
2015-12-20 12:51:13.552 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 965, in _report_state
2015-12-20 12:51:13.552 4826 TRACE neutron.agent.l3_agent self.use_call)
2015-12-20 12:51:13.552 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/agent/rpc.py", line 72, in report_state
2015-12-20 12:51:13.552 4826 TRACE neutron.agent.l3_agent return self.call(context, msg, topic=self.topic)
2015-12-20 12:51:13.552 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/proxy.py", line 129, in call
2015-12-20 12:51:13.552 4826 TRACE neutron.agent.l3_agent exc.info, real_topic, msg.get('method'))
2015-12-20 12:51:13.552 4826 TRACE neutron.agent.l3_agent Timeout: Timeout while waiting on RPC response - topic: "q-plugin", RPC method: "report_state" info: "<unknown>"
2015-12-20 12:51:13.552 4826 TRACE neutron.agent.l3_agent
2015-12-20 12:51:13.553 4826 WARNING neutron.openstack.common.loopingcall [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] task run outlasted interval by 30.245792 sec
2015-12-20 12:51:13.553 4826 ERROR neutron.agent.l3_agent [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] Failed synchronizing routers due to RPC error
2015-12-20 12:51:13.553 4826 TRACE neutron.agent.l3_agent Traceback (most recent call last):
2015-12-20 12:51:13.553 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 869, in _sync_routers_task
2015-12-20 12:51:13.553 4826 TRACE neutron.agent.l3_agent context, router_ids)
2015-12-20 12:51:13.553 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 76, in get_routers
2015-12-20 12:51:13.553 4826 TRACE neutron.agent.l3_agent topic=self.topic)
2015-12-20 12:51:13.553 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/proxy.py", line 129, in call
2015-12-20 12:51:13.553 4826 TRACE neutron.agent.l3_agent exc.info, real_topic, msg.get('method'))
2015-12-20 12:51:13.553 4826 TRACE neutron.agent.l3_agent Timeout: Timeout while waiting on RPC response - topic: "q-l3-plugin", RPC method: "sync_routers" info: "<unknown>"
2015-12-20 12:51:13.553 4826 TRACE neutron.agent.l3_agent
2015-12-20 12:51:13.557 4826 WARNING neutron.openstack.common.loopingcall [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] task run outlasted interval by 58.250753 sec
2015-12-20 12:51:13.560 4826 WARNING neutron.openstack.common.loopingcall [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] task run outlasted interval by 20.068138 sec
2015-12-20 12:51:13.914 4826 ERROR neutron.agent.l3_agent [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] Failed synchronizing routers due to RPC error
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent Traceback (most recent call last):
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 869, in _sync_routers_task
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent context, router_ids)
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/agent/l3_agent.py", line 76, in get_routers
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent topic=self.topic)
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/proxy.py", line 125, in call
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent result = rpc.call(context, real_topic, msg, timeout)
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/__init__.py", line 112, in call
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent return _get_impl().call(CONF, context, topic, msg, timeout)
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/impl_qpid.py", line 784, in call
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent rpc_amqp.get_connection_pool(conf, Connection))
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 575, in call
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent rv = list(rv)
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 540, in __iter__
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent raise result
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent RemoteError: Remote error: AgentNotFoundByTypeHost Agent with agent_type=L3 agent and host=controller could not be found
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 462, in _process_data\n **args)\n', u' File "/usr/lib/python2.6/site-packages/neutron/common/rpc.py", line 45, in dispatch\n neutron_ctxt, version, method, namespace, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n result = getattr(proxyobj, method)(ctxt, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/neutron/db/l3_rpc_base.py", line 57, in sync_routers\n context, host, router_ids)\n', u' File "/usr/lib/python2.6/site-packages/neutron/db/l3_agentschedulers_db.py", line 132, in list_active_sync_routers_on_active_l3_agent\n context, constants.AGENT_TYPE_L3, host)\n', u' File "/usr/lib/python2.6/site-packages/neutron/db/agents_db.py", line 140, in _get_agent_by_type_and_host\n host=host)\n', u'AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and host=controller could not be found\n'].
2015-12-20 12:51:13.914 4826 TRACE neutron.agent.l3_agent
2015-12-20 12:53:45.875 4826 INFO neutron.openstack.common.service [req-16e8d3f7-620f-4547-b504-3f7b522f8042 None] Caught SIGTERM, exiting
2015-12-20 12:53:46.319 5630 INFO neutron.common.config [-] Logging enabled!
2015-12-20 12:53:46.363 5630 INFO neutron.openstack.common.rpc.impl_qpid [req-9e276080-840e-4e3c-8745-c42cb74f6d6d None] Connected to AMQP server on controller:5672
2015-12-20 12:53:46.364 5630 INFO neutron.openstack.common.rpc.impl_qpid [req-9e276080-840e-4e3c-8745-c42cb74f6d6d None] Connected to AMQP server on controller:5672
2015-12-20 12:53:46.380 5630 INFO neutron.openstack.common.rpc.impl_qpid [req-9e276080-840e-4e3c-8745-c42cb74f6d6d None] Connected to AMQP server on controller:5672
2015-12-20 12:53:46.386 5630 INFO neutron.agent.l3_agent [req-9e276080-840e-4e3c-8745-c42cb74f6d6d None] L3 agent started
2015-12-20 12:57:20.946 5630 INFO neutron.openstack.common.lockutils [-] Created lock path: /var/lib/neutron/lock
2015-12-20 12:57:23.613 5630 WARNING neutron.openstack.common.loopingcall [-] task run outlasted interval by 2.136773 sec
|