[root@controllerhaproxy1 ~]# tail -f /var/log/keystone/keystone.log
2023-03-22 17:22:15.111 5891 ERROR keystone File "/usr/lib/python2.7/site-packages/debtcollector/renames.py", line 43, in decorator
2023-03-22 17:22:15.111 5891 ERROR keystone return wrapped(*args, **kwargs)
2023-03-22 17:22:15.111 5891 ERROR keystone File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 201, in create_engine
2023-03-22 17:22:15.111 5891 ERROR keystone test_conn = _test_connection(engine, max_retries, retry_interval)
2023-03-22 17:22:15.111 5891 ERROR keystone File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 387, in _test_connection
2023-03-22 17:22:15.111 5891 ERROR keystone six.reraise(type(de_ref), de_ref)
2023-03-22 17:22:15.111 5891 ERROR keystone File "<string>", line 3, in reraise
2023-03-22 17:22:15.111 5891 ERROR keystone DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:22:15.111 5891 ERROR keystone
2023-03-22 17:33:57.471 7101 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 10 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:34:07.487 7101 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 9 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:34:17.507 7101 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 8 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:34:27.522 7101 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 7 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:34:37.536 7101 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 6 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:34:47.551 7101 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 5 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:34:57.565 7101 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 4 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:35:07.579 7101 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 3 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:35:17.593 7101 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 2 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:35:27.602 7101 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 1 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:35:37.623 7101 CRITICAL keystone [-] Unhandled error: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)
2023-03-22 17:35:37.623 7101 ERROR keystone Traceback (most recent call last):
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/bin/keystone-manage", line 10, in <module>
2023-03-22 17:35:37.623 7101 ERROR keystone sys.exit(main())
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/manage.py", line 40, in main
2023-03-22 17:35:37.623 7101 ERROR keystone cli.main(argv=sys.argv, developer_config_file=developer_config)
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1370, in main
2023-03-22 17:35:37.623 7101 ERROR keystone CONF.command.cmd_class.main()
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 339, in main
2023-03-22 17:35:37.623 7101 ERROR keystone CONF.command.version)
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/common/sql/upgrades.py", line 227, in offline_sync_database_to_version
2023-03-22 17:35:37.623 7101 ERROR keystone expand_schema()
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/common/sql/upgrades.py", line 301, in expand_schema
2023-03-22 17:35:37.623 7101 ERROR keystone _sync_common_repo(version=None)
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/common/sql/upgrades.py", line 143, in _sync_common_repo
2023-03-22 17:35:37.623 7101 ERROR keystone with sql.session_for_write() as session:
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
2023-03-22 17:35:37.623 7101 ERROR keystone return self.gen.next()
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 1064, in _transaction_scope
2023-03-22 17:35:37.623 7101 ERROR keystone context=context) as resource:
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
2023-03-22 17:35:37.623 7101 ERROR keystone return self.gen.next()
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 659, in _session
2023-03-22 17:35:37.623 7101 ERROR keystone bind=self.connection, mode=self.mode)
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 418, in _create_session
2023-03-22 17:35:37.623 7101 ERROR keystone self._start()
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 510, in _start
2023-03-22 17:35:37.623 7101 ERROR keystone engine_args, maker_args)
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 534, in _setup_for_connection
2023-03-22 17:35:37.623 7101 ERROR keystone sql_connection=sql_connection, **engine_kwargs)
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/debtcollector/renames.py", line 43, in decorator
2023-03-22 17:35:37.623 7101 ERROR keystone return wrapped(*args, **kwargs)
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 201, in create_engine
2023-03-22 17:35:37.623 7101 ERROR keystone test_conn = _test_connection(engine, max_retries, retry_interval)
2023-03-22 17:35:37.623 7101 ERROR keystone File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 387, in _test_connection
2023-03-22 17:35:37.623 7101 ERROR keystone six.reraise(type(de_ref), de_ref)
2023-03-22 17:35:37.623 7101 ERROR keystone File "<string>", line 3, in reraise
2023-03-22 17:35:37.623 7101 ERROR keystone DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '192.168.10.100' ([Errno 111] Connection refused)") (Background on this error at: http://sqlalche.me/e/e3q8)文章来源:https://www.toymoban.com/news/detail-789461.html
2023-03-22 17:35:37.623 7101 ERROR keystone 文章来源地址https://www.toymoban.com/news/detail-789461.html
到了这里,关于openstack同步数据库报错!!的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!