[Openstack] issue when I using pki as the token provider

Li, Chen chen.li at intel.com
Thu Mar 6 01:58:45 UTC 2014


Hi,

I'm working under CentOS + Havana.

When I start keystone, I get error in both keystone.log and keystone-startup.log:
       2014-03-06 09:38:18.214 20199 INFO keystone.common.environment [-] Environment configured as: eventlet
        2014-03-06 09:38:18.413 20199 CRITICAL keystone [-] Class pki cannot be found (['Traceback (most recent call last):\n', ' File "/usr/lib/python2.6/site-packages/keystone/openstack/common/importutils.py", line 31, in import_class\n return getattr(sys.modules[mod_str], class_str)\n', "AttributeError: 'module' object has no attribute 'pki'\n"])

Anyone know why this happens???

Thanks.

-chen

My /etc/keystone/keystone.conf is :
[DEFAULT]

[sql]
connection = mysql://keystone:keystone@host-db/keystone

[identity]

[credential]

[trust]

[os_inherit]

[catalog]
driver = keystone.catalog.backends.sql.Catalog

[endpoint_filter]

[token]
driver = keystone.token.backends.memcache.Token
provider = keystone.token.providers.pki

[cache]

[policy]

[ec2]

[assignment]

[oauth1]

[ssl]

[signing]

[ldap]

[auth]
methods = external,password,token,oauth1
password = keystone.auth.plugins.password.Password
token = keystone.auth.plugins.token.Token
oauth1 = keystone.auth.plugins.oauth1.OAuth

[paste_deploy]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140306/1d717179/attachment.html>


More information about the Openstack mailing list