Keystone servers fail to start

Bug #901453 reported by Kevin L. Mitchell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Critical
Dolph Mathews

Bug Description

The keystone servers are failing to start in trunk:

    klmitch@devhost-klmitch:~/devel/src/keystone$ ./bin/keystone-auth /home/klmitch/keystone/keystone-auth.conf
    Traceback (most recent call last):
      File "./bin/keystone-auth", line 45, in <module>
        config_name='keystone-legacy-auth')
      File "/home/klmitch/devel/src/keystone/keystone/server.py", line 106, in __init__
        version.version())
    NameError: global name 'version' is not defined

The basic problem is that there is clearly a missing "from keystone import version" in keystone/server.py; however, a more serious problem is that this was not caught by the unit tests before merging whatever the responsible patch was with trunk.

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

Confirmed, `./bin/keystone works`, but both:

    ./bin/keystone-auth
    ./bin/keystone-admin

... are failing with the backtrace shown above.

Changed in keystone:
assignee: nobody → Dolph Mathews (dolph)
importance: Undecided → Critical
milestone: none → essex-2
status: New → Confirmed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/2230
Committed: http://github.com/openstack/keystone/commit/057c050506e2eecf1c73989042815f2976825e3c
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 057c050506e2eecf1c73989042815f2976825e3c
Author: Dolph Mathews <email address hidden>
Date: Fri Dec 9 13:22:53 2011 -0600

    Added missing import preventing keystone from starting (bug 901453)

    Change-Id: Iae79ffd0e3065c821edcbe250b59a6aa1e3a5a07

Changed in keystone:
status: Confirmed → Fix Committed
Revision history for this message
Dolph Mathews (dolph) wrote :

Recommended fix merged above; test approach in progress.

Changed in keystone:
status: Fix Committed → In Progress
Revision history for this message
Thierry Carrez (ttx) wrote :

Split bug: the open bug for the test approach is bug 903713.

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-2 → 2012.1
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.