kilo "keystone-manage db_sync keystone" fails in CentOS 7 [closed]

asked 2015-07-14 09:15:04 -0500

edfsr777 gravatar image

When I attempt to run "keystone-manage db_sync keystone" on my CentOS 7.1 VM to set up a kilo installation, the command fails and not tables / data is created in the keystone database. I'm running mariadb. The keystone.log contains the following:

2015-07-14 08:41:19.969 30050 CRITICAL keystone [-] NoSuchOptError: no such option: Ri 2015-07-14 08:41:19.969 30050 TRACE keystone Traceback (most recent call last): 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/bin/keystone-manage", line 44, in <module> 2015-07-14 08:41:19.969 30050 TRACE keystone cli.main(argv=sys.argv, config_files=config_files) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/cli.py", line 585, in main 2015-07-14 08:41:19.969 30050 TRACE keystone CONF.command.cmd_class.main() 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/cli.py", line 76, in main 2015-07-14 08:41:19.969 30050 TRACE keystone migration_helpers.sync_database_to_version(extension, version) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/common/sql/migration_helpers.py", line 242, in sync_database_to_version 2015-07-14 08:41:19.969 30050 TRACE keystone _sync_common_repo(version) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/common/sql/migration_helpers.py", line 145, in _sync_common_repo 2015-07-14 08:41:19.969 30050 TRACE keystone engine = sql.get_engine() 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/common/sql/core.py", line 188, in get_engine 2015-07-14 08:41:19.969 30050 TRACE keystone return _get_engine_facade().get_engine() 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/keystone/common/sql/core.py", line 176, in _get_engine_facade 2015-07-14 08:41:19.969 30050 TRACE keystone _engine_facade = db_session.EngineFacade.from_config(CONF) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/session.py", line 866, in from_config 2015-07-14 08:41:19.969 30050 TRACE keystone return cls(sql_connection=conf.database.connection, 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2520, in __getattr__ 2015-07-14 08:41:19.969 30050 TRACE keystone return self._conf._get(name, self._group) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2242, in _get 2015-07-14 08:41:19.969 30050 TRACE keystone value = self._do_get(name, group, namespace) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2279, in _do_get 2015-07-14 08:41:19.969 30050 TRACE keystone return convert(opt._get_from_namespace(namespace, group_name)) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2274, in convert 2015-07-14 08:41:19.969 30050 TRACE keystone self._substitute(value, group, namespace), opt) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2325, in ... (更多)

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Ranjit
close date 2015-07-14 23:32:04.413752