Version 2.32.0 doesn't work against rackspace nor cloudwatt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Critical
|
Alex Xu |
Bug Description
When using novaclient 2.32.0 against rackspace the following error is emitted (and the traceback if using the --debug flag):
DEBUG (shell:914) Server doesn't support microversions
Traceback (most recent call last):
File "/usr/local/
OpenStackCo
File "/usr/local/
api_version = api_versions.
File "/usr/local/
_("Server doesn't support microversions"))
UnsupportedVersion: Server doesn't support microversions
ERROR (UnsupportedVer
I think rackspace has a firewall/load balancer of some sort preventing the client from reading necessary version info which results in the error. Version 2.31.0 has been confirmed to work.
summary: |
- Version 2.32.0 doesn't work against rackspace + Version 2.32.0 doesn't work against rackspace nor cloudwatt |
Changed in python-novaclient: | |
milestone: | none → 2.33.0 |
status: | Fix Committed → Fix Released |
This issue was introduced when we changed the default compute api version requested from "server latest" to "client supported latest" [1].
In the version discovery code, UnsupportedVersion is being raised because requested_version has changed from "latest" to an actual version. The current code interprets a specific version to mean that the user is asking for a particular version and if the server can't support it, raise an error. In the rackspace case, we have code that handles clouds that don't expose the version list api, and a "null" server version is used. Then the combination of "user specified a microversion" and "server doesn't support microversions" results in the error. The version "latest" is bypassed as it's not considered to be "user specified".
There is more work needed in the logic for version discovery to go along with changing the default compute api version.
[1] https:/ /review. openstack. org/#/c/ 230024/