Bug 2252389

Summary: [OSP17.1] Some commands throw "You have a configured API_VERSION with 'latest' in it." warning
Product: Red Hat OpenStack Reporter: ggrimaux
Component: openstack-novaAssignee: OSP DFG:Compute <osp-dfg-compute>
Status: CLOSED DUPLICATE QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: low Docs Contact:
Priority: low    
Version: 17.1 (Wallaby)CC: alifshit, dasmith, eglynn, jhakimra, kchamart, sbauza, sgordon, vromanso
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-04 16:43:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ggrimaux 2023-12-01 11:23:48 UTC
Description of problem:
Some api commands give warnings like this:
openstack aggregate create --property baremetal=true baremetal
/usr/lib/python3.9/site-packages/openstack/config/cloud_region.py:452: UserWarning: You have a configured API_VERSION with 'latest' in it. In the context of openstacksdk this doesn't make any sense.
  warnings.warn(

Could this be fixed ?

Version-Release number of selected component (if applicable):
OSP17.1

How reproducible:
100%

Steps to Reproduce:
1. Try command "openstack aggregate create --property baremetal=true baremetal"
2.
3.

Actual results:
Have a warning

Expected results:
No warning

Additional info:
N/A

Comment 1 Artom Lifshitz 2023-12-04 16:43:50 UTC

*** This bug has been marked as a duplicate of bug 2233560 ***