Advertisement
Guest User

Untitled

a guest
Oct 18th, 2016
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.01 KB | None | 0 0
  1. root@controller:/# su -s /bin/sh -c "keystone-manage db_sync" keystone
  2. 2016-10-18 17:44:44.167 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connecti
  3. 2016-10-18 17:44:54.168 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connecti
  4. 2016-10-18 17:45:04.175 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 8 attempts left.
  5. 2016-10-18 17:45:14.184 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 7 attempts left.
  6. 2016-10-18 17:45:24.190 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 6 attempts left.
  7. 2016-10-18 17:45:34.198 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 5 attempts left.
  8. 2016-10-18 17:45:44.204 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 4 attempts left.
  9. 2016-10-18 17:45:54.213 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 3 attempts left.
  10. 2016-10-18 17:46:04.219 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 2 attempts left.
  11. 2016-10-18 17:46:14.226 6191 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 1 attempts left.
  12. 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)")
  13. 2016-10-18 17:46:24.233 6191 ERROR keystone Traceback (most recent call last):
  14. 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/bin/keystone-manage", line 10, in <module>
  15. 2016-10-18 17:46:24.233 6191 ERROR keystone sys.exit(main())
  16. 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
  17. 2016-10-18 17:46:24.233 6191 ERROR keystone cli.main(argv=sys.argv, config_files=confi g_files)
  18. 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
  19. 2016-10-18 17:46:24.233 6191 ERROR keystone CONF.command.cmd_class.main()
  20. 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
  21. 2016-10-18 17:46:24.233 6191 ERROR keystone migration_helpers.sync_database_to_version (extension, version)
  22. 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
  23. 2016-10-18 17:46:24.233 6191 ERROR keystone _sync_common_repo(version)
  24. 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
  25. 2016-10-18 17:46:24.233 6191 ERROR keystone with sql.session_for_write() as session:
  26. 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/contextlib.py", lin e 17, in __enter__
  27. 2016-10-18 17:46:24.233 6191 ERROR keystone return self.gen.next()
  28. 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
  29. 2016-10-18 17:46:24.233 6191 ERROR keystone allow_async=self._allow_async) as resource :
  30. 2016-10-18 17:46:24.233 6191 ERROR keystone File "/usr/lib/python2.7/contextlib.py", lin e 17, in __enter__
  31. 2016-10-18 17:46:24.233 6191 ERROR keystone return self.gen.next()
  32. 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
  33. 2016-10-18 17:46:24.233 6191 ERROR keystone bind=self.connection, mode=self.mode)
  34. 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
  35. 2016-10-18 17:46:24.233 6191 ERROR keystone self._start()
  36. 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
  37. 2016-10-18 17:46:24.233 6191 ERROR keystone engine_args, maker_args)
  38. 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
  39. 2016-10-18 17:46:24.233 6191 ERROR keystone sql_connection=sql_connection, **engine_kw args)
  40. 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
  41. 2016-10-18 17:46:24.233 6191 ERROR keystone test_conn = _test_connection(engine, max_r etries, retry_interval)
  42. 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
  43. 2016-10-18 17:46:24.233 6191 ERROR keystone six.reraise(type(de_ref), de_ref)
  44. 2016-10-18 17:46:24.233 6191 ERROR keystone File "<string>", line 2, in reraise
  45. 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) ")
  46. 2016-10-18 17:46:24.233 6191 ERROR keystone
  47. root@controller:/#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement