glance tests fail because of OS_AUTH_URL

Bug #985671 reported by Bernhard M. Wiedemann
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Brian Waldon

Bug Description

Hi,

if you run the glance unittests on a system that has a full openstack setup including keystone and has the environment set so that OS_AUTH_URL points to keystone (i.e. http://127.0.0.1:5000/v2.0/ )
it makes all TestBinGlance tests fail, because glance tries to connect to 0.0.0.0:9292 instead of the port specified on command line

I see two ways to improve this:
1) a port given on command line shoud take precedence over the environment
2) the tests should clear the OS_AUTH_URL variable

Brian Waldon (bcwaldon)
Changed in glance:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Brian Waldon (bcwaldon)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/6710

Jay Pipes (jaypipes)
Changed in glance:
milestone: none → folsom-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/6710
Committed: http://github.com/openstack/glance/commit/df28738d1f693d5ae35d75dfcdad41706a012230
Submitter: Jenkins
Branch: master

commit df28738d1f693d5ae35d75dfcdad41706a012230
Author: Brian Waldon <email address hidden>
Date: Sun Apr 22 20:31:00 2012 -0700

    Override OS_AUTH_URL when running functional tests

    * Fixes bug 985671

    Change-Id: Ie4f4c13846de727647abe168aeb193a93f03e0bf

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: folsom-1 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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