← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1235841] Re: Keystone does not start

 

Thanks for the follow up!

** Changed in: keystone
       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/1235841

Title:
  Keystone does not start

Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  With the latest devstack setup, Keystone is failing to start when run
  stack.sh or try running keystone with keystone-all. It give's the
  following AttributeError:

  stack.sh
  ...........
  .....
  2013-10-05 21:05:12 Starting Keystone
  2013-10-05 21:05:13 + mysql -uroot -popenstack1 -h127.0.0.1 -e 'CREATE DATABASE keystone CHARACTER SET utf8;'
  2013-10-05 21:05:13 + /opt/stack/keystone/bin/keystone-manage db_sync
  2013-10-05 21:05:13 Traceback (most recent call last):
  2013-10-05 21:05:13   File "/opt/stack/keystone/bin/keystone-manage", line 37, in <module>
  2013-10-05 21:05:13     from keystone import cli
  2013-10-05 21:05:13   File "/opt/stack/keystone/keystone/cli.py", line 27, in <module>
  2013-10-05 21:05:13     from keystone.common.sql import migration
  2013-10-05 21:05:13   File "/opt/stack/keystone/keystone/common/sql/__init__.py", line 18, in <module>
  2013-10-05 21:05:13     from keystone.common.sql.core import *
  2013-10-05 21:05:13   File "/opt/stack/keystone/keystone/common/sql/core.py", line 31, in <module>
  2013-10-05 21:05:13     from keystone.openstack.common.db.sqlalchemy import models
  2013-10-05 21:05:13   File "/opt/stack/keystone/keystone/openstack/common/db/sqlalchemy/models.py", line 31, in <module>
  2013-10-05 21:05:13     from keystone.openstack.common.db.sqlalchemy import session as sa
  2013-10-05 21:05:13   File "/opt/stack/keystone/keystone/openstack/common/db/sqlalchemy/session.py", line 279, in <module>
  2013-10-05 21:05:13     deprecated_opts=[cfg.DeprecatedOpt('sql_connection',
  2013-10-05 21:05:13 AttributeError: 'module' object has no attribute 'DeprecatedOpt'......
  ....
  2013-10-05 21:06:15 ./stack.sh:851:start_keystone
  2013-10-05 21:06:15 /home/openstack/devstack/lib/keystone:376:die
  2013-10-05 21:06:15 [ERROR] /home/openstack/devstack/lib/keystone:376 keystone did not start

  openstack@ubuntu:/opt/stack/keystone/bin$ ./keystone-all
  2013-10-05 21:20:20.984 38608 INFO keystone.common.environment [-] Environment configured as: eventlet
  2013-10-05 21:20:21.119 38608 CRITICAL keystone [-] Class Identity cannot be found (['Traceback (most recent call last):\n', '  File "/opt/stack/keystone/keystone/openstack/common/importutils.py", line 30, in import_class\n    __import__(mod_str)\n', '  File "/opt/stack/keystone/keystone/identity/backends/sql.py", line 18, in <module>\n    from keystone.common import sql\n', '  File "/opt/stack/keystone/keystone/common/sql/__init__.py", line 18, in <module>\n    from keystone.common.sql.core import *\n', '  File "/opt/stack/keystone/keystone/common/sql/core.py", line 31, in <module>\n    from keystone.openstack.common.db.sqlalchemy import models\n', '  File "/opt/stack/keystone/keystone/openstack/common/db/sqlalchemy/models.py", line 31, in <module>\n    from keystone.openstack.common.db.sqlalchemy import session as sa\n', '  File "/opt/stack/keystone/keystone/openstack/common/db/sqlalchemy/session.py", line 279, in <module>\n    deprecated_opts=[cfg.DeprecatedOpt(\'sql_connection\',\n', "AttributeError: 'module' object has no attribute 'DeprecatedOpt'\n"])

  Not sure if it's really a bug or something with my env. but thought
  good idea to report considering the release as I work on figure out..

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1235841/+subscriptions