同步表时报错

qq_7an8091o 安装和配置认证服务 KeySt... 2017年09月28日提问

  • 0 回答
  • 458 浏览

这个报错怎么弄啊

2017-09-28 10:16:01.542 2770 CRITICAL keystone [-] OperationalError: (OperationalError) (1184, "Aborted connection 30 to db: 'keystone' user: 'keystone' host: 'controller' (init_connect command failed)") None None

2017-09-28 10:16:01.542 2770 TRACE keystone Traceback (most recent call last):

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/bin/keystone-manage", line 44, in <module>

2017-09-28 10:16:01.542 2770 TRACE keystone     cli.main(argv=sys.argv, config_files=config_files)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 585, in main

2017-09-28 10:16:01.542 2770 TRACE keystone     CONF.command.cmd_class.main()

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 76, in main

2017-09-28 10:16:01.542 2770 TRACE keystone     migration_helpers.sync_database_to_version(extension, version)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration_helpers.py", line 194, in sync_database_to_version

2017-09-28 10:16:01.542 2770 TRACE keystone     _sync_common_repo(version)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration_helpers.py", line 145, in _sync_common_repo

2017-09-28 10:16:01.542 2770 TRACE keystone     engine = sql.get_engine()

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/core.py", line 188, in get_engine

2017-09-28 10:16:01.542 2770 TRACE keystone     return _get_engine_facade().get_engine()

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/core.py", line 176, in _get_engine_facade

2017-09-28 10:16:01.542 2770 TRACE keystone     _engine_facade = db_session.EngineFacade.from_config(CONF)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py", line 880, in from_config

2017-09-28 10:16:01.542 2770 TRACE keystone     retry_interval=conf.database.retry_interval)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py", line 796, in __init__

2017-09-28 10:16:01.542 2770 TRACE keystone     **engine_kwargs)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py", line 413, in create_engine

2017-09-28 10:16:01.542 2770 TRACE keystone     _test_connection(engine, max_retries, retry_interval)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py", line 583, in _test_connection

2017-09-28 10:16:01.542 2770 TRACE keystone     return engine.connect()

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1778, in connect

2017-09-28 10:16:01.542 2770 TRACE keystone     return self._connection_cls(self, **kwargs)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 60, in __init__

2017-09-28 10:16:01.542 2770 TRACE keystone     self.__connection = connection or engine.raw_connection()

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/compat/handle_error.py", line 225, in raw_connection

2017-09-28 10:16:01.542 2770 TRACE keystone     self.pool.unique_connection, _connection)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/compat/handle_error.py", line 219, in _wrap_pool_connect

2017-09-28 10:16:01.542 2770 TRACE keystone     e, dialect, self)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/compat/handle_error.py", line 324, in _handle_dbapi_exception_noconnection

2017-09-28 10:16:01.542 2770 TRACE keystone     six.reraise(type(newraise), newraise, exc_info[2])

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/compat/handle_error.py", line 215, in _wrap_pool_connect

2017-09-28 10:16:01.542 2770 TRACE keystone     return fn()

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 280, in unique_connection

2017-09-28 10:16:01.542 2770 TRACE keystone     return _ConnectionFairy._checkout(self)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 644, in _checkout

2017-09-28 10:16:01.542 2770 TRACE keystone     fairy = _ConnectionRecord.checkout(pool)

2017-09-28 10:16:01.542 2770 TRACE keystone   File "/usr/lib/python2.7/