Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@controller:/# su -s /bin/sh -c "keystone-manage db_sync" keystone
- 2016-10-18 17:44:44.167 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connecti
- 2016-10-18 17:44:54.168 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connecti
- 2016-10-18 17:45:04.175 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 8 attempts left.
- 2016-10-18 17:45:14.184 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 7 attempts left.
- 2016-10-18 17:45:24.190 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 6 attempts left.
- 2016-10-18 17:45:34.198 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 5 attempts left.
- 2016-10-18 17:45:44.204 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 4 attempts left.
- 2016-10-18 17:45:54.213 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 3 attempts left.
- 2016-10-18 17:46:04.219 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 2 attempts left.
- 2016-10-18 17:46:14.226 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 1 attempts left.
- 2016-10-18 17:46:24.233 6191 CRITICAL keystone [-] DBConnectionError: (pymysql.err.Operati onalError) (2003, "Can't connect to MySQL server on 'controller' ([Errno 111] Connection r efused)")
- 2016-10-18 17:46:24.233 6191 ERROR keystone Traceback (most recent call last):
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/bin/keystone-manage", line 10, in <module>
- 2016-10-18 17:46:24.233 6191 ERROR keystone sys.exit(main())
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/keyst one/cmd/manage.py", line 47, in main
- 2016-10-18 17:46:24.233 6191 ERROR keystone cli.main(argv=sys.argv, config_files=confi g_files)
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/keyst one/cmd/cli.py", line 1010, in main
- 2016-10-18 17:46:24.233 6191 ERROR keystone CONF.command.cmd_class.main()
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/keyst one/cmd/cli.py", line 389, in main
- 2016-10-18 17:46:24.233 6191 ERROR keystone migration_helpers.sync_database_to_version (extension, version)
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/keyst one/common/sql/migration_helpers.py", line 210, in sync_database_to_version
- 2016-10-18 17:46:24.233 6191 ERROR keystone _sync_common_repo(version)
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/keyst one/common/sql/migration_helpers.py", line 132, in _sync_common_repo
- 2016-10-18 17:46:24.233 6191 ERROR keystone with sql.session_for_write() as session:
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/contextlib.py", lin e 17, in __enter__
- 2016-10-18 17:46:24.233 6191 ERROR keystone return self.gen.next()
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/oslo_ db/sqlalchemy/enginefacade.py", line 759, in _transaction_scope
- 2016-10-18 17:46:24.233 6191 ERROR keystone allow_async=self._allow_async) as resource :
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/contextlib.py", lin e 17, in __enter__
- 2016-10-18 17:46:24.233 6191 ERROR keystone return self.gen.next()
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/oslo_ db/sqlalchemy/enginefacade.py", line 491, in _session
- 2016-10-18 17:46:24.233 6191 ERROR keystone bind=self.connection, mode=self.mode)
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/oslo_ db/sqlalchemy/enginefacade.py", line 272, in _create_session
- 2016-10-18 17:46:24.233 6191 ERROR keystone self._start()
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/oslo_ db/sqlalchemy/enginefacade.py", line 338, in _start
- 2016-10-18 17:46:24.233 6191 ERROR keystone engine_args, maker_args)
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/oslo_ db/sqlalchemy/enginefacade.py", line 362, in _setup_for_connection
- 2016-10-18 17:46:24.233 6191 ERROR keystone sql_connection=sql_connection, **engine_kw args)
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/oslo_ db/sqlalchemy/engines.py", line 152, in create_engine
- 2016-10-18 17:46:24.233 6191 ERROR keystone test_conn = _test_connection(engine, max_r etries, retry_interval)
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/dist-packages/oslo_ db/sqlalchemy/engines.py", line 334, in _test_connection
- 2016-10-18 17:46:24.233 6191 ERROR keystone six.reraise(type(de_ref), de_ref)
- 2016-10-18 17:46:24.233 6191 ERROR keystone File "<string>", line 2, in reraise
- 2016-10-18 17:46:24.233 6191 ERROR keystone DBConnectionError: (pymysql.err.OperationalErr or) (2003, "Can't connect to MySQL server on 'controller' ([Errno 111] Connection refused) ")
- 2016-10-18 17:46:24.233 6191 ERROR keystone
- root@controller:/#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement