Project

Profile

Help

Issue #6753

closed

pulp_installer requires the firewall python package to be installed

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

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

Description

As documented in https://pulp.plan.io/issues/6725, the managed system must have the python package "firewall" installed.

1st of all, this is only true if pulp_configure_firewall is set to "auto" (the default) or "firewalld".

2nd, if firewalld is installed and running, but the python module for it is not installed, then we should install the distro package that provides it (for the distro's default python interpreter) when the variable is set to "auto" or "firewalld".

For reference on this being the intended behaviour of an ansible role, consider how the ansible apt module will automatically install the python3-apt package (presumably via commands) if it is missing.

If firewalld is not installed and running, then "auto" should do nothing.

Also available in: Atom PDF