← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1378270] Re: keystone-manage db_sync command failed

 

Swami: thanks for the follow up! This one was a little befuddling :)

** Changed in: keystone
       Status: Incomplete => 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/1378270

Title:
  keystone-manage db_sync command failed

Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  When I ran stack.sh from the latest devstack, the below error shown:
  ==
  2014-10-07 09:21:50.826 | + mysql -uroot -pcloud -h127.0.0.1 -e 'CREATE DATABASE keystone CHARACTER SET                                utf8;'
  2014-10-07 09:21:50.831 | + /opt/stack/keystone/bin/keystone-manage db_sync
  2014-10-07 09:21:51.435 | Traceback (most recent call last):
  2014-10-07 09:21:51.436 |   File "/opt/stack/keystone/bin/keystone-manage", line 30, in <module>
  2014-10-07 09:21:51.436 |     from keystone import cli
  2014-10-07 09:21:51.436 |   File "/opt/stack/keystone/keystone/cli.py", line 31, in <module>
  2014-10-07 09:21:51.436 |     from keystone import token
  2014-10-07 09:21:51.437 |   File "/opt/stack/keystone/keystone/token/__init__.py", line 15, in <module>
  2014-10-07 09:21:51.437 |     from keystone.token import controllers  # noqa
  2014-10-07 09:21:51.437 |   File "/opt/stack/keystone/keystone/token/controllers.py", line 31, in <modu                               le>
  2014-10-07 09:21:51.437 |     from keystone.token import provider
  2014-10-07 09:21:51.438 |   File "/opt/stack/keystone/keystone/token/provider.py", line 37, in <module>
  2014-10-07 09:21:51.438 |     from keystone.token import persistence
  2014-10-07 09:21:51.438 |   File "/opt/stack/keystone/keystone/token/persistence/__init__.py", line 13,                                in <module>
  2014-10-07 09:21:51.439 |     from keystone.token.persistence.core import *  # noqa
  2014-10-07 09:21:51.439 |   File "/opt/stack/keystone/keystone/token/persistence/core.py", line 44, in                                <module>
  2014-10-07 09:21:51.439 |     class PersistenceManager(manager.Manager):
  2014-10-07 09:21:51.439 |   File "/opt/stack/keystone/keystone/token/persistence/core.py", line 58, in                                PersistenceManager
  2014-10-07 09:21:51.440 |     what='token_api.unique_id')
  2014-10-07 09:21:51.440 |   File "/opt/stack/keystone/keystone/openstack/common/versionutils.py", line                                128, in __call__
  2014-10-07 09:21:51.440 |     @six.wraps(func_or_cls)
  2014-10-07 09:21:51.440 | AttributeError: 'module' object has no attribute 'wraps'
  2014-10-07 09:21:51.479 | + exit_trap
  2014-10-07 09:21:51.479 | + local r=1
  2014-10-07 09:21:51.479 | ++ jobs -p
  2014-10-07 09:21:51.480 | + jobs=
  2014-10-07 09:21:51.480 | + [[ -n '' ]]
  2014-10-07 09:21:51.480 | + kill_spinner
  2014-10-07 09:21:51.481 | + '[' '!' -z '' ']'
  2014-10-07 09:21:51.481 | + [[ 1 -ne 0 ]]
  2014-10-07 09:21:51.481 | + echo 'Error on exit'
  2014-10-07 09:21:51.481 | Error on exit
  2014-10-07 09:21:51.481 | + [[ -z /opt/stack/logs ]]
  2014-10-07 09:21:51.481 | + /home/swami/devstack/tools/worlddump.py -d /opt/stack/logs
  2014-10-07 09:21:51.526 | + exit 1
  ==========

  
  Looks like this is similar to https://bugs.launchpad.net/nova/+bug/1083054

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


References