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/", 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???



My /etc/keystone/keystone.conf is :

  connection = mysql://keystone:keystone@host-db/keystone
  driver = keystone.catalog.backends.sql.Catalog
  driver = keystone.token.backends.memcache.Token
  provider = keystone.token.providers.pki
  methods = external,password,token,oauth1
  password = keystone.auth.plugins.password.Password
  token = keystone.auth.plugins.token.Token
  oauth1 = keystone.auth.plugins.oauth1.OAuth