keystone-manage db_sync command failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned |
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/
2014-10-07 09:21:51.435 | Traceback (most recent call last):
2014-10-07 09:21:51.436 | File "/opt/stack/
2014-10-07 09:21:51.436 | from keystone import cli
2014-10-07 09:21:51.436 | File "/opt/stack/
2014-10-07 09:21:51.436 | from keystone import token
2014-10-07 09:21:51.437 | File "/opt/stack/
2014-10-07 09:21:51.437 | from keystone.token import controllers # noqa
2014-10-07 09:21:51.437 | File "/opt/stack/
2014-10-07 09:21:51.437 | from keystone.token import provider
2014-10-07 09:21:51.438 | File "/opt/stack/
2014-10-07 09:21:51.438 | from keystone.token import persistence
2014-10-07 09:21:51.438 | File "/opt/stack/
2014-10-07 09:21:51.439 | from keystone.
2014-10-07 09:21:51.439 | File "/opt/stack/
2014-10-07 09:21:51.439 | class PersistenceMana
2014-10-07 09:21:51.439 | File "/opt/stack/
2014-10-07 09:21:51.440 | what='token_
2014-10-07 09:21:51.440 | File "/opt/stack/
2014-10-07 09:21:51.440 | @six.wraps(
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/
2014-10-07 09:21:51.526 | + exit 1
==========
Looks like this is similar to https:/
tags: | added: keystone |
affects: | nova → keystone |
I was only able to reproduce this by installing six v1.6.1 which is explicitly unsupported by keystone (which requires >= v1.7.0 in requirements.txt). The latest version of six is v1.8.0:
https:/ /pypi.python. org/pypi/ six
Can you confirm the version of six that you're running?
$ python -c "import six; print(six. __version_ _)"