Openstack

1. Openstack

Flavio Zarro
Andrezarro

(usa Ubuntu)

Enviado em 27/11/2015 - 07:38h

Bom dia pessoal,

estou a estagiar na empresa IBM e recentemente pediram-me para instalar atraves do Ubuntu 15.10 server a aplicação Openstack.
Correu tudo bem no processo de instalacao, tudo a correr, ate que no final fiz update. Como estava a demorar, deixei a fazer (estava a utilizar uma VPN). No outro dia, depois do update, quando fui executar alguma coisa, apareceu alguns erros...como este:

[email protected]:/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
[email protected]:/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

Alguem me pode dar uma ajuda sff?

obrigado


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts