Failed to import the required Python library (policycoreutils-python) on RHUA

Solution Verified - Updated -

Issue

rhui-installer command failing on the step TASK [Allow browsable API and media files to be served by a webserver] with python dependency:

TASK [Allow browsable API and media files to be served by a webserver] *****************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'seobject'
fatal: [root@localhost]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (policycoreutils-python) on rhua4.usersys.redhat.com's Python /usr/libexec/platform-python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}

Environment

  • Red Hat Update Infrastructure 4 Beta

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content