SDK-based commands incorrectly warn about unsupported versions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
In Progress
|
Low
|
Stephen Finucane |
Bug Description
When using a command that uses SDK client under the hood, we incorrectly warn about unsupported versions. This is in spite of SDK supporting auto-negotation. For example:
❯ openstack image list --os-image-
image API version 2.3 is not in supported versions: 1, 2
+------
| ID | Name | Status |
+------
| ad3de20f-
+------
❯ openstack server list --os-compute-
compute API version 2.96 is not in supported versions: 2, 2.1
❯ openstack network list --os-network-
network API version 2.6 is not in supported versions: 2, 2.0
+------
| ID | Name | Subnets |
+------
| 1ccb72c3-
| 4b3c5b3e-
| 74a23c39-
+------
Of these, only the last is likely correct. We should not raise these warnings elsewhere.
Changed in python-openstackclient: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
Fix proposed to branch: master /review. opendev. org/c/openstack /python- openstackclient /+/946946
Review: https:/