Project

Profile

Help

Issue #7276

closed

pulp_installer fails to set selinux booleans due to missing dependencies

Added by mdepaulo@redhat.com over 4 years ago. Updated about 4 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.

Added by Mike DePaulo over 4 years ago

Revision d44a82f9 | View on GitHub

Problem: pulp_installer fails to set selinux booleans

due to missing dependencies

Solution: Install those dependencies. They differ based on OS release.

fixes: #7276 https://pulp.plan.io/issues/7276

Added by Mike DePaulo over 4 years ago

Revision d44a82f9 | View on GitHub

Problem: pulp_installer fails to set selinux booleans

due to missing dependencies

Solution: Install those dependencies. They differ based on OS release.

fixes: #7276 https://pulp.plan.io/issues/7276

Actions #1

Updated by Anonymous over 4 years ago

  • Status changed from NEW to MODIFIED
Actions #2

Updated by ttereshc about 4 years ago

  • Sprint/Milestone set to 3.8.0
Actions #3

Updated by ttereshc about 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF