Glance keystone unit tests can't start essex milestone 1 keystone server

Bug #901672 reported by Stuart McLaren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Unassigned

Bug Description

When running the keystone unit tests with the essex-1 version of keystone I
see errors such as the following when the tests attempt to start the keystone server:

Traceback (most recent call last):
  File "/usr/bin/keystone", line 88, in <module>
    if conf['admin_ssl'] == 'True':
KeyError: 'admin_ssl'

What may be needed is a change to keystone_utils.py:

 admin_port = %(admin_port)s
 keystone-admin-role = Admin
 keystone-service-admin-role = KeystoneServiceAdmin
+service_ssl = False
+admin_ssl = False

 [keystone.backends.sqlalchemy]
 sql_connection = %(sql_connection)s

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/2170
Committed: http://github.com/openstack/glance/commit/4ffe0e6dd01fc7fd92395994778eb27820a35d93
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 4ffe0e6dd01fc7fd92395994778eb27820a35d93
Author: Stuart McLaren <email address hidden>
Date: Thu Dec 8 13:39:11 2011 +0000

    Allow glance keystone unit tests to run with essex keystone.

    Fix for bug 901672.

    Change-Id: Idc72797949e47bd75aeba45965e3c8b83571625e

Changed in glance:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → essex-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: essex-3 → 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.