分享

openstack kilo 创建路由成功,但是出于停止状态【记录】





1.png

通过命令查看日志
[mw_shl_code=bash,true] more neutron-server.log |grep error[/mw_shl_code]
如下
[mw_shl_code=bash,true]2015-08-05 04:23:39.265 45104 TRACE neutron.service   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/compat/handle_error.py", line 261, in _handle_dbapi_exception
2015-08-05 04:23:39.265 45104 TRACE neutron.service     self.errorhandler(self, exc, value)
2015-08-05 04:23:39.265 45104 TRACE neutron.service   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
2015-08-05 04:23:39.265 45104 TRACE neutron.service     raise errorclass, errorvalue
2015-08-05 04:23:39.279 45104 TRACE neutron     LOG.exception(_LE('Unrecoverable error: please check log '
2015-08-05 04:23:39.279 45104 TRACE neutron   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/compat/handle_error.py", line 261, in _handle_dbapi_exception
2015-08-05 04:23:39.279 45104 TRACE neutron     self.errorhandler(self, exc, value)
2015-08-05 04:23:39.279 45104 TRACE neutron   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
2015-08-05 04:23:39.279 45104 TRACE neutron     raise errorclass, errorvalue
2015-08-05 04:23:43.014 45121 ERROR neutron.service [-] Unrecoverable error: please check log for details.
2015-08-05 04:23:43.014 45121 TRACE neutron.service   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/compat/handle_error.py", line 261, in _handle_dbapi_exception
2015-08-05 04:23:43.014 45121 TRACE neutron.service     self.errorhandler(self, exc, value)
2015-08-05 04:23:43.014 45121 TRACE neutron.service   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
2015-08-05 04:23:43.014 45121 TRACE neutron.service     raise errorclass, errorvalue
2015-08-05 04:23:43.040 45121 TRACE neutron     LOG.exception(_LE('Unrecoverable error: please check log '
2015-08-05 04:23:43.040 45121 TRACE neutron   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/compat/handle_error.py", line 261, in _handle_dbapi_exception
2015-08-05 04:23:43.040 45121 TRACE neutron     self.errorhandler(self, exc, value)
2015-08-05 04:23:43.040 45121 TRACE neutron   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
2015-08-05 04:23:43.040 45121 TRACE neutron     raise errorclass, errorvalue
2015-08-06 20:16:28.942 45189 WARNING keystonemiddleware.auth_token [req-1730e6c7-9acb-4b13-844b-57c06d049df9 ] Identity response: {"error": {"message": "Could not find token: faa5c749389349d3ae6f42d1c2d67bf0", "code": 404, "title": "Not Found"}}
2015-08-10 03:43:02.271 1028 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "Could not find token: c862473c9706428ea181e8f5c66abe3a", "code": 404, "title": "Not Found"}}
2015-08-10 04:10:17.925 996 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "Could not find token: 1e3a94328fef4679bf0cd3661e7dfc11", "code": 404, "title": "Not Found"}}
2015-08-10 04:10:19.697 996 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "Could not find token: 1e3a94328fef4679bf0cd3661e7dfc11", "code": 404, "title": "Not Found"}}[/mw_shl_code]

已有(1)人评论

跳转到指定楼层
xuanxufeng 发表于 2015-8-11 12:12:05
删除后,重新添加,查看日志
[mw_shl_code=bash,true]2015-08-10 20:51:11.452 996 INFO neutron.callbacks.manager [req-5531a34b-ebcd-427f-bf0f-f4b38927afd8 ] Notify callbacks for port, after_create
2015-08-10 20:51:11.453 996 INFO neutron.callbacks.manager [req-5531a34b-ebcd-427f-bf0f-f4b38927afd8 ] Calling callback neutron.db.l3_dvrscheduler_db._notify_l3_agent_new_port
2015-08-10 20:51:11.477 996 WARNING neutron.scheduler.l3_agent_scheduler [req-5531a34b-ebcd-427f-bf0f-f4b38927afd8 ] No active L3 agents
2015-08-10 20:51:11.491 996 INFO neutron.wsgi [req-5531a34b-ebcd-427f-bf0f-f4b38927afd8 ] 10.0.0.11 - - [10/Aug/2015 20:51:11] "PUT /v2.0/routers/45204cb0-f1f2-4e1f-a833-c731e4c94db1/add_router_interface.json HTTP/1.1" 200 469 0.162846[/mw_shl_code]

No active L3 agents应该有问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条