Description of problem:
This warning message was already reported and fixed in bug #2233560: patch Idbcfbf29626d9a66427b78067813915caf0e9cd5 was used to downgrade DEFAULT_COMPUTE_API_VERSION to "2.1" from "2.latest". This change caused bug #2259167: normal live migration command is broken unless higher Nova API version is provided manually; patch Idbcfbf29626d9a66427b78067813915caf0e9cd5 was reverted to fix live migration.
As a result, original bug #2233560 is affecting RHOSP 17.1 again and should be either addressed somehow: it is visible to customers, so we can solve the bug itself or document it as a known issue.
Version-Release number of selected component (if applicable):
RHOSP 17.1.4
How reproducible:
# Make sure that OS_COMPUTE_API_VERSION is set to "2.latest"
$ openstack aggregate list
/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(
<LIST OF AGGREGATES>
Actual results:
Warning is printed.
Expected results:
No warnings are printed for valid configuration or error is documented properly.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: RHOSP 17.1.4 (openstack-tripleo-common and python-tripleoclient) security update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2024:9990