openstack - Devstack Juno: ImportError: No module named persistence.backends.sql -
deploying openstack using devstack ran across error when use keystone commands.
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] traceback (most recent call last):
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] file "/var/www/keystone/main", line 51, in
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] drivers = service.load_backends()
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] file "/opt/stack/keystone/keystone/service.py", line 58, in load_backends
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] token_api=token.manager(),
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] file "/opt/stack/keystone/keystone/common/dependency.py", line 166, in wrapper
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] self.wrapped_init(*args, **kwargs)
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] file "/opt/stack/keystone/keystone/common/dependency.py", line 106, in wrapped_init
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] init(self, *args, **kwargs)
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] file "/opt/stack/keystone/keystone/token/core.py", line 113, in init
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] super(manager, self).init(conf.token.driver)
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] file "/opt/stack/keystone/keystone/common/manager.py", line 70, in init
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] self.driver = importutils.import_object(driver_name)
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] file "/opt/stack/keystone/keystone/openstack/common/importutils.py", line 38, in import_object
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] return import_class(import_str)(*args, **kwargs)
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] file "/opt/stack/keystone/keystone/openstack/common/importutils.py", line 28, in import_class
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] import(mod_str)
[thu nov 27 09:20:59 2014] [error] [client 172.20.14.15] importerror: no module named persistence.backends.sql
try remove
driver = keystone.token.persistence.backends.sql.token
in /etc/keystone/keystone.conf
Comments
Post a Comment