Glanceclient does not allow endpoints not starting with '/v1'

Bug #1052846 reported by Diego Parrilla on 2012-09-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client

Bug Description

If you setup an Openstack deployment with proxied access to Glance through an Apache (or any other proxy server) with endpoints different than:


Then the client library trims the full path of the endpoint. Example:


the endpoint is transformed to:


But if you enable the debug feature of the client (-d), the curl shown is correct, because how the curl is built and how the connection is built differs.

The code affected has been tested with the latest version of the client on several Essex deployments using V1 api.

Fix proposed to branch: master

Changed in python-glanceclient:
status: New → In Progress
Brian Waldon (bcwaldon) on 2012-09-20
Changed in python-glanceclient:
importance: Undecided → Low
importance: Low → High
milestone: none → v0.5.2

Fix proposed to branch: master

Fix proposed to branch: master

Fix proposed to branch: master

Submitter: Jenkins
Branch: master

commit ff3060c067bb2a860642a1c2e01ef151df8c5243
Author: Diego Parrilla <email address hidden>
Date: Fri Sep 21 00:51:20 2012 +0200

    Use full URI path from Glance endpoint in HTTP requests

    Fixes bug 1052846

    Now the connection uses host, port and path to connect to Glance. So proxied connections to Glance are allowed.

    Change-Id: I53a890e6532adb8168961d1d09f938bf439e895c

Changed in python-glanceclient:
status: In Progress → Fix Committed
Brian Waldon (bcwaldon) on 2012-10-24
Changed in python-glanceclient:
milestone: v0.5.2 → v0.6.0
Brian Waldon (bcwaldon) on 2012-11-20
Changed in python-glanceclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers