Recent clients fail against older services due to microversion compatibility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
New
|
Undecided
|
Unassigned |
Bug Description
Using release 8.3.0 or newer of the client against a Xena service fails, even when specifying an older microversion with --os-volume-
ERROR: Version 3.68 is not supported by the API. Minimum is 3.0 and maximum is 3.66. (HTTP 406)
It works with client 8.2.0 because its maximum supported version is 3.66.
This is because the cinder client makes an initial request to the root API resource without respecting the provided API version:
$ cinder --os-volume-
[...]
DEBUG:keystonea
DEBUG:keystonea
DEBUG:keystonea
DEBUG (shell:1031) Version 3.68 is not supported by the API. Minimum is 3.0 and maximum is 3.66. (HTTP 406)
Just hit this upgrading to xena. We've had to patch cinder-api to drop the check for valid version if path=/