通过命令查看日志
[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]
|