Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

issue when I using pki as the token provider

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]