Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

keystone_manage db_sync keystone fails on kilo in CentOS 7.1

Attempting to install keystone in a VMWare vSphere 6 VM running CentOS 7.1 with MariaDB. When I run the "keystone_manage db_sync keystone" command, no tables / data are created in the keystone database. The keystone.log file contains the following:

[root@XLHou008018 keystone]# keystone-manage db_sync keystone [root@XLHou008018 keystone]# cat keystone.log 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 _substitute 2015-07-14 08:41:19.969 30050 TRACE keystone self.StrSubWrapper(self, group=group, namespace=namespace)) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib64/python2.7/string.py", line 205, in safe_substitute 2015-07-14 08:41:19.969 30050 TRACE keystone return self.pattern.sub(convert, self.template) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib64/python2.7/string.py", line 190, in convert 2015-07-14 08:41:19.969 30050 TRACE keystone return '%s' % (mapping[named],) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2600, in __getitem__ 2015-07-14 08:41:19.969 30050 TRACE keystone value = self.conf._get(key, namespace=self.namespace) 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 2260, in _do_get 2015-07-14 08:41:19.969 30050 TRACE keystone info = self._get_opt_info(name, group) 2015-07-14 08:41:19.969 30050 TRACE keystone File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2388, in _get_opt_info 2015-07-14 08:41:19.969 30050 TRACE keystone raise NoSuchOptError(opt_name, group) 2015-07-14 08:41:19.969 30050 TRACE keystone NoSuchOptError: no such option: Ri 2015-07-14 08:41:19.969 30050 TRACE keystone

Obviously there is a python error but I do not know how to correct it. I am new to Open Stack and am attempting to learn about it.

click to hide/show revision 2
No.2 Revision

keystone_manage db_sync keystone fails on kilo in CentOS 7.1

Attempting to install keystone in a VMWare vSphere 6 VM running CentOS 7.1 with MariaDB. When I run the "keystone_manage db_sync keystone" command, no tables / data are created in the keystone database. The keystone.log file contains the following:

[root@XLHou008018 keystone]# keystone-manage db_sync keystone
[root@XLHou008018 keystone]# cat keystone.log
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 _substitute
2015-07-14 08:41:19.969 30050 TRACE keystone     self.StrSubWrapper(self, group=group, namespace=namespace))
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib64/python2.7/string.py", line 205, in safe_substitute
2015-07-14 08:41:19.969 30050 TRACE keystone     return self.pattern.sub(convert, self.template)
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib64/python2.7/string.py", line 190, in convert
2015-07-14 08:41:19.969 30050 TRACE keystone     return '%s' % (mapping[named],)
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2600, in __getitem__
2015-07-14 08:41:19.969 30050 TRACE keystone     value = self.conf._get(key, namespace=self.namespace)
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 2260, in _do_get
2015-07-14 08:41:19.969 30050 TRACE keystone     info = self._get_opt_info(name, group)
2015-07-14 08:41:19.969 30050 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2388, in _get_opt_info
2015-07-14 08:41:19.969 30050 TRACE keystone     raise NoSuchOptError(opt_name, group)
2015-07-14 08:41:19.969 30050 TRACE keystone NoSuchOptError: no such option: Ri
2015-07-14 08:41:19.969 30050 TRACE keystone

keystone

Obviously there is a python error but I do not know how to correct it. I am new to Open Stack and am attempting to learn about it.