Support unversioned endpoints in service catalog

Bug #1391971 reported by Brian Curtin
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack SDK
Fix Released
High
Terry Howe

Bug Description

At least on my devstack, I'm getting back an image service that is just a host and port, no "v1" or "v2" tacked on the end like everything else.

There's two things to consider here:
1. A GET / to that host:port returns detailed version information, offering further discovery.
2. We have implemented the image API against known versions, currently only the v1 API, so we could construct the base_path of image related resources with a leading /v1.

Revision history for this message
Terry Howe (thowe-g) wrote :
Revision history for this message
Terry Howe (thowe-g) wrote :

 {"endpoints": [{"adminURL": "http://172.22.191.138:9292", "region": "RegionOne", "internalURL": "http://172.22.191.138:9292", "id": "1477cb8a07fa49d8967c64e6ded00711", "publicURL": "http://172.22.191.138:9292"}],

Revision history for this message
Ian Cordasco (icordasc) wrote :

We also now support v2 thanks to Steve. We could realistically choose either one based on availability.

Changed in python-openstacksdk:
status: New → Confirmed
Terry Howe (thowe-g)
Changed in python-openstacksdk:
assignee: nobody → Terry Howe (thowe-g)
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
Terry Howe (thowe-g) wrote :

Version discovery is covered in this blueprint https://blueprints.launchpad.net/unifiedsdk/+spec/version-discovery

I'm thinking this ticket should just be about unversioned endpoints.

Revision history for this message
Terry Howe (thowe-g) wrote :
Changed in python-openstacksdk:
status: In Progress → Fix Committed
Changed in python-openstacksdk:
status: Fix Committed → Fix Released
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.