Manila API does not accepts "latest" as api version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Hello!
Description
===========
Compared to other Openstack modules like Nova, Manila does not accept "latest" keyword for the version. It would be very useful for us to not have to hardcode a version number in our codebase using the Manila API.
Is there a reason why it has not been implemented?
Step to reproduce
===========
for any call to manila, set version value to "latest" in the dedicated header: X-Openstack-
Expected result
===========
If latest is specified, would take the latest version automatically, eg: 2.78
Actual result
===========
The request send back the error: {"badRequest": {"code": 400, "message": "API Version String latest is of invalid format. Must be of format MajorNum.
Environment
===========
The code in question looking for MajorNum.MinorNum version formatting in Manila:
https:/
Example of implementation of latest in Nova:
https:/
Thank you very much!
We will discuss this at the Dalmatian PTG. This request has been denied in the past but we can re-evaluate.