OpenStack Image Registry and Delivery Service (Glance)

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

Reported by Stuart McLaren on 2011-12-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
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

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) on 2012-01-25
Changed in glance:
milestone: none → essex-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in glance:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers