Project

Profile

Help

Issue #7276

closed

pulp_installer fails to set selinux booleans due to missing dependencies

Added by mdepaulo@redhat.com over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Observed on a CentOS 8 Stream vagrant box:

TASK [pulp_webserver : Set httpd_can_network_connect flag on and keep it persistent across reboots] **************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'semanage'
fatal: [centos8-stream.mdepaulo.example.com]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (libsemanage-python) on centos8-stream.mdepaulo.example.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"}

Our CI is not picking this up because there is no SELinux on containers on Ubuntu.

Also available in: Atom PDF