Comment 0 for bug 1581459

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote : Nova CLI client doesn't support Nova API microverions: ERROR (UnsupportedVersion): Server doesn't support microversions

Note: this issue was found on MOS 9.0 version #350 (downstream), this but is actual for Mitaka release and next releases as well.

Steps To Reproduce:
1. Deploy cluster with 1 controller and 1 compute node.
2. Login via ssh to OpenStack controller node
3. Execute the following commands:
nova version-list
nova --os-compute-api-version 2 list
nova --os-compute-api-version 2.1 list
nova --os-compute-api-version 2.25 list
nova --service-type computev21 --os-compute-api-version 2.1 list
nova --service-type computev3 --os-compute-api-version 2.1 list

Expected Result:
Nova CLI allow to use microversions from console

Observed Result:
We can see different errors for these CLI commands:

root@node-1:~# nova version-list
Client supported API versions:
Minimum version 2.1
Maximum version 2.25

Server supported API versions:
+------+-----------+----------------------+-------------+---------+
| Id | Status | Updated | Min Version | Version |
+------+-----------+----------------------+-------------+---------+
| v2.0 | SUPPORTED | 2011-01-21T11:33:21Z | | |
| v2.1 | CURRENT | 2013-07-23T11:33:21Z | 2.1 | 2.25 |
+------+-----------+----------------------+-------------+---------+

root@node-1:~# nova --os-compute-api-version 2.2 list
ERROR (UnsupportedVersion): Server doesn't support microversions

root@node-1:~# nova --service-type computev3 --os-compute-api-version 2.1 list
ERROR (KeyError): 'version'