← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1837513] [NEW] Install and configure in keystone

 

Public bug reported:


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

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: doc

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1837513

Title:
  Install and configure in keystone

Status in OpenStack Identity (keystone):
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1837513/+subscriptions


Follow ups