api microversion needed for default-volume-set

Bug #1998600 reported by Peter Struys
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
New
Undecided
Unassigned

Bug Description

According to https://docs.openstack.org/cinder/latest/contributor/api_microversion_history.html#id59 cinder api version 3.62 supports "set, get, and unset a default volume type for a specific project".

But python3-cinderclient 7.0.0 does not know "default-type-set", python3-cinderclient 8.3.0 askes for api 3.68 en python3-cinderclient 9.1.0 ask for api 3.70. The maximum for Xena is 3.66.

root@srv-k8s-access-jammy:~# apt install python3-cinderclient

root@srv-k8s-access-jammy:~# cinder --version
8.3.0

root@srv-k8s-access-jammy:~# cinder default-type-list
ERROR: Version 3.68 is not supported by the API. Minimum is 3.0 and maximum is 3.66. (HTTP 406)

How can I use "cinder default-type-set" (to set a default volume-type per project) ?
Am I missing something in my understanding of this feature and its required api version ?

thank you
Peter

Revision history for this message
Peter Struys (peterstruys) wrote :

I see now that the bug reported just previous to this one is probably related :
"Recent clients fail against older services due to microversion compatibility".

Revision history for this message
Peter Struys (peterstruys) wrote :

default-type-set does work with python-cinderclient version 8.2.0, does not work with higher versions, does not exist in lower versions.

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.