Adding image with swift backend poorly constructs url

Bug #860010 reported by Brian Waldon on 2011-09-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Brian Waldon

Bug Description

I added an image with swift as the default backend. The auth url in the config was ''. The location returned by glance after adding was 'swift+https://rscsbcb:<API_KEY>'. It is a minor detail, but there are two slashes after 'v1.0'.

Brian Waldon (bcwaldon) wrote :

Debugging the tests, and I noticed the following assertEquals:


The format_swift_location method in glance.tests.unit.test_swift_store seems to be the culprit

Changed in glance:
importance: Undecided → Low
status: New → In Progress

Submitter: Jenkins
Branch: master

 status fixcommitted

commit 2b43f89e2cb7e0d89b9f2a957b4ae25c2cb496d7
Author: Brian Waldon <email address hidden>
Date: Mon Sep 26 16:57:59 2011 -0400

    Improving swfit store uri construction

    Fixing bug 860010

    Change-Id: I1b414fafb492f3cafd5a1e857d55e8a8d3fa9a8a

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2011-11-09
Changed in glance:
milestone: none → essex-1
Thierry Carrez (ttx) on 2011-11-17
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in glance:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers