← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1388494] Re: Install and configure in OpenStack Installation Guide for Ubuntu 14.04  - juno

 

Glad to hear it Tom! Do let us know if you find any other way we can
make the docs better - we rely on reports like yours :)

** No longer affects: keystone

** Changed in: openstack-manuals
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1388494

Title:
  Install and configure in OpenStack Installation Guide for Ubuntu 14.04
  - juno

Status in OpenStack Manuals:
  Invalid

Bug description:
  This is my first time going through the openstack install, so grain of
  salt, please.

  When following the guide to the letter on installing keystone I get
  the following in syslog:

  ....
  Nov  1 23:19:17 i5 kernel: [474361.925239] init: keystone main process (11278) terminated with status 1
  Nov  1 23:19:17 i5 kernel: [474361.925245] init: keystone respawning too fast, stopped
  ....

  On the command line, starting keystone-all, I see the following on
  console:

  ------
  root@i5:/var/lib/keystone# /usr/bin/keystone-all
  2014-11-01 23:30:26.918 12581 INFO keystone.common.environment [-] Environment configured as: eventlet
  2014-11-01 23:30:26.967 12581 CRITICAL keystone [-] ImportError: No module named persistence.backends.sql
  2014-11-01 23:30:26.967 12581 TRACE keystone Traceback (most recent call last):
  2014-11-01 23:30:26.967 12581 TRACE keystone   File "/usr/bin/keystone-all", line 134, in <module>
  2014-11-01 23:30:26.967 12581 TRACE keystone     service.load_backends()
  2014-11-01 23:30:26.967 12581 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/service.py", line 58, in load_backends
  2014-11-01 23:30:26.967 12581 TRACE keystone     token_api=token.Manager(),
  2014-11-01 23:30:26.967 12581 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/dependency.py", line 166, in wrapper
  2014-11-01 23:30:26.967 12581 TRACE keystone     self.__wrapped_init__(*args, **kwargs)
  2014-11-01 23:30:26.967 12581 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/dependency.py", line 106, in __wrapped_init__
  2014-11-01 23:30:26.967 12581 TRACE keystone     init(self, *args, **kwargs)
  2014-11-01 23:30:26.967 12581 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/token/core.py", line 113, in __init__
  2014-11-01 23:30:26.967 12581 TRACE keystone     super(Manager, self).__init__(CONF.token.driver)
  2014-11-01 23:30:26.967 12581 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line 70, in __init__
  2014-11-01 23:30:26.967 12581 TRACE keystone     self.driver = importutils.import_object(driver_name)
  2014-11-01 23:30:26.967 12581 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/importutils.py", line 38, in import_object
  2014-11-01 23:30:26.967 12581 TRACE keystone     return import_class(import_str)(*args, **kwargs)
  2014-11-01 23:30:26.967 12581 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/importutils.py", line 28, in import_class
  2014-11-01 23:30:26.967 12581 TRACE keystone     __import__(mod_str)
  2014-11-01 23:30:26.967 12581 TRACE keystone ImportError: No module named persistence.backends.sql
  2014-11-01 23:30:26.967 12581 TRACE keystone 
  -----

  Removing the following line from the /etc/keystone/keystone.conf:
  ----
  driver = keystone.token.persistence.backends.sql.Token
  ----
  appears to fix the problem starting keystone-all.  I'm not sure what affect that has later on in the installation, but right now it looks like a problem in python-keystoneclient not having the right libs, or not apt-get installing something that is needed, and is not mentioned thus far in the install guide.

  -----------------------------------
  Built: 2014-11-01T18:04:04 00:00
  git SHA: 0b43451156b70284686b99d7964cdb179cb9d24c
  URL: http://docs.openstack.org/juno/install-guide/install/apt/content/keystone-install.html
  source File: file:/home/jenkins/workspace/openstack-manuals-tox-doc-publishdocs/doc/install-guide/section_keystone-install.xml
  xml:id: keystone-install

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-manuals/+bug/1388494/+subscriptions