RHEL 9.2's ansible-core was rebuilt on Python 3.11 instead of 3.9 (bug 2169466).
RHOSP 17.1 is built on Python 3.9 and some of its components import Ansible code directly, so this causes a lot of breakage (ex. bug 2170553).
We will rebuild the ansible-core package on Python 3.9 and include it in RHOSP 17.1 repositories. We're naming it openstack-ansible-core to make it easily distinguishable from RHEL's version.
This build has been in composes for some time, and is attached to the advisory and is scheduled to ship. So, this is verified as this has been added to the distribution.
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