Bug 2252389 - [OSP17.1] Some commands throw "You have a configured API_VERSION with 'latest' in it." warning
Summary: [OSP17.1] Some commands throw "You have a configured API_VERSION with 'latest...
Keywords:
Status: CLOSED DUPLICATE of bug 2233560
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: OSP DFG:Compute
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-01 11:23 UTC by ggrimaux
Modified: 2023-12-04 16:43 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-04 16:43:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-30629 0 None None None 2023-12-01 11:24:56 UTC

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 ***


Note You need to log in before you can comment on or make changes to this bug.