Description of problem: All Openstack commands are coming up with the warning: 2022-05-03 12:25:29.876 | "cmd": "source /home/stack/stackrc; openstack baremetal introspection interface list controller-0 --field switch_capabilities_support -f value | sort", 2022-05-03 12:25:29.878 | "delta": "0:00:02.707182", 2022-05-03 12:25:29.881 | "end": "2022-05-03 12:25:29.788052", 2022-05-03 12:25:29.883 | "failed_when_result": false, 2022-05-03 12:25:29.885 | "item": { 2022-05-03 12:25:29.887 | "field": "switch_capabilities_support", 2022-05-03 12:25:29.889 | "value": "None\nNone\nNone" 2022-05-03 12:25:29.891 | }, 2022-05-03 12:25:29.893 | "rc": 0, 2022-05-03 12:25:29.895 | "start": "2022-05-03 12:25:27.080870" 2022-05-03 12:25:29.897 | } 2022-05-03 12:25:29.899 | 2022-05-03 12:25:29.901 | STDOUT: 2022-05-03 12:25:29.903 | 2022-05-03 12:25:29.905 | None 2022-05-03 12:25:29.907 | None 2022-05-03 12:25:29.909 | None 2022-05-03 12:25:29.911 | 2022-05-03 12:25:29.913 | 2022-05-03 12:25:29.915 | STDERR: 2022-05-03 12:25:29.917 | 2022-05-03 12:25:29.919 | /usr/lib/python3.9/site-packages/ansible/_vendor/__init__.py:42: UserWarning: One or more Python packages bundled by this ansible-core distribution were already loaded (pyparsing). This may result in undefined behavior. 2022-05-03 12:25:29.921 | warnings.warn('One or more Python packages bundled by this ansible-core distribution were already ' Version-Release number of selected component (if applicable): 17 How reproducible: everytime Steps to Reproduce: 1. run openstack command 2. returned with warning 3. Actual results: warning appeared Expected results: no warning should appear Additional info:
This was resolved upstream with the following reviews [0]. It looks like this will need to be backported. I've submitted the review for wallaby, please have a look at [1] when you have a moment. [0] https://review.opendev.org/c/openstack/python-tripleoclient/+/834882 [1] https://review.opendev.org/c/openstack/python-tripleoclient/+/841286
Executed command from description and do not see the Warning message: (undercloud) [stack@undercloud-0 ~]$ openstack baremetal introspection interface list controller-0 --field switch_capabilities_support -f value | sort None None None (undercloud) [stack@undercloud-0 ~]$
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.0 (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-2022:6543