Erro ao instalar OPENSTACK

Iniciado por Andrezarro24, 26 de Novembro de 2015, 13:13

tópico anterior - próximo tópico

Andrezarro24

Boas pessoal,

tenho andado a tentar instalar a APP OPENSTACK e quando digitei o comando keystone-manage db_sync apareceu o sguinte:

alguma ajuda possivel?é que so falta mesmo isto para tudo ficar OK...

root@ubuntu:/home/user# keystone-manage db_sync
2015-11-26 15:06:28.339 2120 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 10 attempts left.
^X2015-11-26 15:06:38.349 2120 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 9 attempts left.                                                 ^C2015-11-26 15:06:42.551 2120 CRITICAL keystone [-] KeyboardInterrupt
2015-11-26 15:06:42.551 2120 ERROR keystone Traceback (most recent call last):
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/bin/keystone-manage", line 10, in <module>
2015-11-26 15:06:42.551 2120 ERROR keystone     sys.exit(main())
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/manage.py", line 47, in main
2015-11-26 15:06:42.551 2120 ERROR keystone     cli.main(argv=sys.argv, config_files=config_files)
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 685, in main
2015-11-26 15:06:42.551 2120 ERROR keystone     CONF.command.cmd_class.main()
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 77, in main
2015-11-26 15:06:42.551 2120 ERROR keystone     migration_helpers.sync_database_to_version(extension, version)
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration_helpers.py", line 194, in sync_database_to_version
2015-11-26 15:06:42.551 2120 ERROR keystone     _sync_common_repo(version)
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration_helpers.py", line 145, in _sync_common_repo
2015-11-26 15:06:42.551 2120 ERROR keystone     engine = sql.get_engine()
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/core.py", line 188, in get_engine
2015-11-26 15:06:42.551 2120 ERROR keystone     return _get_engine_facade().get_engine()
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/core.py", line 176, in _get_engine_facade
2015-11-26 15:06:42.551 2120 ERROR keystone     _engine_facade = db_session.EngineFacade.from_config(CONF)
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 1015, in from_config
2015-11-26 15:06:42.551 2120 ERROR keystone     expire_on_commit=expire_on_commit, _conf=conf)
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 943, in __init__
2015-11-26 15:06:42.551 2120 ERROR keystone     slave_connection=slave_connection)
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 338, in _start
2015-11-26 15:06:42.551 2120 ERROR keystone     engine_args, maker_args)
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 362, in _setup_for_connection
2015-11-26 15:06:42.551 2120 ERROR keystone     sql_connection=sql_connection, **engine_kwargs)
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py", line 152, in create_engine
2015-11-26 15:06:42.551 2120 ERROR keystone     test_conn = _test_connection(engine, max_retries, retry_interval)
2015-11-26 15:06:42.551 2120 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py", line 330, in _test_connection
2015-11-26 15:06:42.551 2120 ERROR keystone     time.sleep(retry_interval)
2015-11-26 15:06:42.551 2120 ERROR keystone KeyboardInterrupt
2015-11-26 15:06:42.551 2120 ERROR keystone
root@ubuntu:/home/user# keystone-manage db_sync
2015-11-26 15:09:09.935 2161 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 10 attempts left.
^C2015-11-26 15:09:16.779 2161 CRITICAL keystone [-] KeyboardInterrupt
2015-11-26 15:09:16.779 2161 ERROR keystone Traceback (most recent call last):
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/bin/keystone-manage", line 10, in <module>
2015-11-26 15:09:16.779 2161 ERROR keystone     sys.exit(main())
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/manage.py", line 47, in main
2015-11-26 15:09:16.779 2161 ERROR keystone     cli.main(argv=sys.argv, config_files=config_files)
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 685, in main
2015-11-26 15:09:16.779 2161 ERROR keystone     CONF.command.cmd_class.main()
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 77, in main
2015-11-26 15:09:16.779 2161 ERROR keystone     migration_helpers.sync_database_to_version(extension, version)
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration_helpers.py", line 194, in sync_database_to_version
2015-11-26 15:09:16.779 2161 ERROR keystone     _sync_common_repo(version)
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration_helpers.py", line 145, in _sync_common_repo
2015-11-26 15:09:16.779 2161 ERROR keystone     engine = sql.get_engine()
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/core.py", line 188, in get_engine
2015-11-26 15:09:16.779 2161 ERROR keystone     return _get_engine_facade().get_engine()
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/sql/core.py", line 176, in _get_engine_facade
2015-11-26 15:09:16.779 2161 ERROR keystone     _engine_facade = db_session.EngineFacade.from_config(CONF)
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 1015, in from_config
2015-11-26 15:09:16.779 2161 ERROR keystone     expire_on_commit=expire_on_commit, _conf=conf)
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 943, in __init__
2015-11-26 15:09:16.779 2161 ERROR keystone     slave_connection=slave_connection)
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 338, in _start
2015-11-26 15:09:16.779 2161 ERROR keystone     engine_args, maker_args)
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 362, in _setup_for_connection
2015-11-26 15:09:16.779 2161 ERROR keystone     sql_connection=sql_connection, **engine_kwargs)
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py", line 152, in create_engine
2015-11-26 15:09:16.779 2161 ERROR keystone     test_conn = _test_connection(engine, max_retries, retry_interval)
2015-11-26 15:09:16.779 2161 ERROR keystone   File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py", line 330, in _test_connection
2015-11-26 15:09:16.779 2161 ERROR keystone     time.sleep(retry_interval)
2015-11-26 15:09:16.779 2161 ERROR keystone KeyboardInterrupt
2015-11-26 15:09:16.779 2161 ERROR keystone