Install and configure in keystone

Bug #1837513 reported by ahmed elbendary on 2019-07-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Undecided
Unassigned

Bug Description

Step Number 5 in keystone installation and configuration

keystone-manage bootstrap --bootstrap-password ADMIN_PASS \
  --bootstrap-admin-url http://controller:35357/v3/ \
  --bootstrap-internal-url http://controller:5000/v3/ \
  --bootstrap-public-url http://controller:5000/v3/ \
  --bootstrap-region-id RegionOne

It gives me the below error in /var/log/keystone/keystone.conf in Centos 7

2019-07-23 01:38:18.238 45036 WARNING stevedore.named [-] Could not load keystone.catalog.backends.sql.Catalog
2019-07-23 01:38:18.239 45036 CRITICAL keystone [-] Unhandled error: ImportError: Unable to find 'keystone.catalog.backends.sql.Catalog' driver in 'keystone.catalog'.
2019-07-23 01:38:18.239 45036 ERROR keystone Traceback (most recent call last):
2019-07-23 01:38:18.239 45036 ERROR keystone File "/usr/bin/keystone-manage", line 10, in <module>
2019-07-23 01:38:18.239 45036 ERROR keystone sys.exit(main())
2019-07-23 01:38:18.239 45036 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/manage.py", line 40, in main
2019-07-23 01:38:18.239 45036 ERROR keystone cli.main(argv=sys.argv, developer_config_file=developer_config)
2019-07-23 01:38:18.239 45036 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1216, in main
2019-07-23 01:38:18.239 45036 ERROR keystone CONF.command.cmd_class.main()
2019-07-23 01:38:18.239 45036 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 177, in main
2019-07-23 01:38:18.239 45036 ERROR keystone klass = cls()
2019-07-23 01:38:18.239 45036 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 66, in __init__
2019-07-23 01:38:18.239 45036 ERROR keystone self.bootstrapper = bootstrap.Bootstrapper()
2019-07-23 01:38:18.239 45036 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/cmd/bootstrap.py", line 31, in __init__
2019-07-23 01:38:18.239 45036 ERROR keystone backends.load_backends()
2019-07-23 01:38:18.239 45036 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/server/backends.py", line 59, in load_backends
2019-07-23 01:38:18.239 45036 ERROR keystone drivers = {d._provides_api: d() for d in managers}
2019-07-23 01:38:18.239 45036 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/server/backends.py", line 59, in <dictcomp>
2019-07-23 01:38:18.239 45036 ERROR keystone drivers = {d._provides_api: d() for d in managers}
2019-07-23 01:38:18.239 45036 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/catalog/core.py", line 61, in __init__
2019-07-23 01:38:18.239 45036 ERROR keystone super(Manager, self).__init__(CONF.catalog.driver)
2019-07-23 01:38:18.239 45036 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/common/manager.py", line 181, in __init__
2019-07-23 01:38:18.239 45036 ERROR keystone self.driver = load_driver(self.driver_namespace, driver_name)
2019-07-23 01:38:18.239 45036 ERROR keystone File "/usr/lib/python2.7/site-packages/keystone/common/manager.py", line 81, in load_driver
2019-07-23 01:38:18.239 45036 ERROR keystone raise ImportError(msg % {'name': driver_name, 'namespace': namespace})
2019-07-23 01:38:18.239 45036 ERROR keystone ImportError: Unable to find 'keystone.catalog.backends.sql.Catalog' driver in 'keystone.catalog'.
2019-07-23 01:38:18.239 45036 ERROR keystone

Tags: doc Edit Tag help
Colleen Murphy (krinkle) wrote :

Did you install keystone from the RDO packages? What version?

Changed in keystone:
status: New → Incomplete
ahmed elbendary (ahmbendary) wrote :

Thanks Colleen, I reinstalled OpenStack-Keystone package then it worked well.

Changed in keystone:
status: Incomplete → Fix Committed
Colleen Murphy (krinkle) on 2019-07-24
Changed in keystone:
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers