devstack install failed, error in keystone requirement.

Bug #1486407 reported by chenhuayi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Expired
Undecided
Unassigned

Bug Description

download the lastest devstack, and use './stack.sh' to install the OpenStack.
Error happens as follow:

2015-08-19 06:03:51.039 | + is_service_enabled ldap
2015-08-19 06:03:51.050 | + return 1
2015-08-19 06:03:51.050 | + recreate_database keystone
2015-08-19 06:03:51.050 | + local db=keystone
2015-08-19 06:03:51.051 | + recreate_database_mysql keystone
2015-08-19 06:03:51.051 | + local db=keystone
2015-08-19 06:03:51.051 | + mysql -uroot -pstackdb -h127.0.0.1 -e 'DROP DATABASE IF EXISTS keystone;'
2015-08-19 06:03:51.060 | + mysql -uroot -pstackdb -h127.0.0.1 -e 'CREATE DATABASE keystone CHARACTER SET utf8;'
2015-08-19 06:03:51.069 | + /usr/local/bin/keystone-manage db_sync
2015-08-19 06:03:51.513 | Traceback (most recent call last):
2015-08-19 06:03:51.513 | File "/usr/local/bin/keystone-manage", line 4, in <module>
2015-08-19 06:03:51.514 | __import__('pkg_resources').require('keystone==2015.2.0.dev43')
2015-08-19 06:03:51.514 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3084, in <module>
2015-08-19 06:03:51.535 | @_call_aside
2015-08-19 06:03:51.536 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3070, in _call_aside
2015-08-19 06:03:51.537 | f(*args, **kwargs)
2015-08-19 06:03:51.537 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
2015-08-19 06:03:51.537 | working_set = WorkingSet._build_master()
2015-08-19 06:03:51.538 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 653, in _build_master
2015-08-19 06:03:51.538 | return cls._build_from_requirements(__requires__)
2015-08-19 06:03:51.538 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements
2015-08-19 06:03:51.539 | dists = ws.resolve(reqs, Environment())
2015-08-19 06:03:51.539 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 839, in resolve
2015-08-19 06:03:51.539 | raise DistributionNotFound(req, requirers)
2015-08-19 06:03:51.540 | pkg_resources.DistributionNotFound: The 'oslo.utils<1.5.0,>=1.4.0' distribution was not found and is required by keystone
2015-08-19 06:03:51.546 | + exit_trap
2015-08-19 06:03:51.546 | + local r=1
2015-08-19 06:03:51.547 | ++ jobs -p
2015-08-19 06:03:51.548 | + jobs=
2015-08-19 06:03:51.549 | + [[ -n '' ]]
2015-08-19 06:03:51.549 | + kill_spinner
2015-08-19 06:03:51.549 | + '[' '!' -z '' ']'
2015-08-19 06:03:51.549 | + [[ 1 -ne 0 ]]
2015-08-19 06:03:51.550 | + echo 'Error on exit'
2015-08-19 06:03:51.550 | Error on exit
2015-08-19 06:03:51.550 | + [[ -z /opt/stack/logs ]]
2015-08-19 06:03:51.550 | + /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2015-08-19 06:03:51.950 | + exit 1

Revision history for this message
Dolph Mathews (dolph) wrote :

I was unable to reproduce this.

Changed in keystone:
status: New → Incomplete
Revision history for this message
David Stanek (dstanek) wrote :

On 08/13/2015 (before this bug was reported) master was updated to use 2.0.0, but even before that it required >= 1.9.0. Is it possible that you are using an older checkout of Keystone that needs to be updated?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Identity (keystone) because there has been no activity for 60 days.]

Changed in keystone:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.