Description of problem: openstack command throws the following warning: /usr/lib/python3.9/site-packages/barbicanclient/__init__.py:57: UserWarning: The secrets module is moved to barbicanclient/v1 directory, direct import of barbicanclient.secrets will be deprecated. Please import barbicanclient.v1.secrets instead. warnings.warn("The %s module is moved to barbicanclient/v1 " Version-Release number of selected component (if applicable): python3-barbicanclient-5.3.0-0.20221028130646.ad49c40.el9ost.noarch How reproducible: always Steps to Reproduce: 1.Run any openstack command, for example $openstack endpoint list 2. 3. Actual results: STDERR: /usr/lib/python3.9/site-packages/barbicanclient/__init__.py:57: UserWarning: The secrets module is moved to barbicanclient/v1 directory, direct import of barbicanclient.secrets will be deprecated. Please import barbicanclient.v1.secrets instead. warnings.warn("The %s module is moved to barbicanclient/v1 " Expected results: no warning Additional info:
Fix is merged upstream in wallaby. So it should be picked up in 17.1 build. Moving to POST.
I backported the change to rhos-17.1-trunk-patches
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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days