Nova endpoint for v2.1 not parsed correctly, tries http instead of https
Bug #1776928 reported by
Mike Lowe
This bug report is a duplicate of:
Bug #1728732: OpenStack nova service responds with an erroneous httpd redirect to a "GET,version_controller,show" request..
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Confirmed
|
Medium
|
Unassigned |
Bug Description
When the nova endpoint path is /v2.1 nova client always tries http but when the path is /v2.1/ it will try https when present in the url. OSC works correctly. Best guess is that endswith /v2.1 doesn't match but /v2.1/ in url.path does match. https:/
Changed in python-novaclient: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
The problem is likely here:
https:/ /github. com/openstack/ python- novaclient/ blob/10. 3.0/novaclient/ v2/versions. py#L91
See https:/ /github. com/openstack/ python- novaclient/ commit/ bd0a2adefe5e89c 4269f6589837f87 1764c6f1f6 for reference.
I'm assuming there might be something in keystoneauth1 that can help parse the endpoint URL properly for us so we don't need this code in novaclient, but would need some help from the sdk team.