Bypassurl also modifies glance urls in new 7.1.0 version

Bug #1667518 reported by Sam Morrison
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
New
Undecided
Unassigned

Bug Description

When doing a nova show using bypass-url the name of the image is always "Image not found"

Debugging further I see a nova image-show also doesn't work.

This is due to the call to glance using the nova bypass url as opposed to the glance url.

Eg. setting bypass-url to http://nova:8774/v2.1/PROJECTID

Will result in a request url:

http://nova:8774/v2.1/PROJECTID/v2/images/IMAGE-ID

When not using bypass url it works and request goes to:

http://glance:9292/v2/images/IMAGE-ID

This is with novaclient version 7.1.0

Also looks like a regression as this works in novaclient 3.3.1

Revision history for this message
Sam Morrison (sorrison) wrote :

Still broken in version 9.1.1. Having a look into the code

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.