Can't use versioned endpoints

Bug #1707995 reported by Eric Fried
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Triaged
Low
Unassigned

Bug Description

I ask the Glance API for a discovery document. It gives me an unversioned endpoint of e.g. http://example.com/image, and a versioned endpoint of http://example.com/image/v2. If I try to use glanceclient with the versioned endpoint. I get 404s everywhere. This is because glanceclient is adding /v2 to the endpoint it receives, so it's asking glance for http://example.com/image/v2/v2/path/to/image instead of http://example.com/image/v2/path/to/image

See related bugs:

https://bugs.launchpad.net/python-glanceclient/+bug/1009110
https://bugs.launchpad.net/python-glanceclient/+bug/1052846
https://bugs.launchpad.net/python-glanceclient/+bug/1243276

Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

Importance "Low" because it's only happening when you use the --os-image-url option; workaround is to not use that option.

Changed in python-glanceclient:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

Anyone who wants to work on this -- take a look at https://bugs.launchpad.net/python-glanceclient/+bug/1748009 first. I suspect that that's the place to make the fix.

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.