Project

Profile

Help

Issue #6753

closed

pulp_installer requires the firewall python package to be installed

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

Actions #1

Updated by dkliban@redhat.com over 2 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 74
Actions #2

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 74 to Sprint 75
Actions #3

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 75 to Sprint 76
Actions #4

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 76 to Sprint 77
Actions #5

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 77 to Sprint 78
Actions #6

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 78 to Sprint 79
Actions #7

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 79 to Sprint 80
Actions #8

Updated by mdepaulo@redhat.com about 2 years ago

  • Assignee set to ppicka
Actions #9

Updated by mdepaulo@redhat.com about 2 years ago

Note:

  1. We install the firewall package in the dockerfile used by molecule create. You need to delete that logic, and add a task to install it in the pulp_webserver role. https://github.com/pulp/pulp_installer/blob/master/molecule/scenario_resources/Dockerfile.j2

  2. I just remembered that we pre-build that container image and push nightly (github actions "cronjob). Please work with fao89 on a solution to test this change at PR test time: https://github.com/pulp/pulp_installer/blob/master/.github/build_container.yaml

Actions #10

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 80 to Sprint 81
Actions #11

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 81 to Sprint 82
Actions #12

Updated by pulpbot about 2 years ago

  • Status changed from NEW to POST
Actions #13

Updated by rchan almost 2 years ago

  • Sprint changed from Sprint 82 to Sprint 83
Actions #14

Updated by rchan almost 2 years ago

  • Sprint changed from Sprint 83 to Sprint 84

Added by ppicka almost 2 years ago

Revision a30a3419

Firewalld python package

Added installation of firewalld python package to installer when specified to install firewall.

closes: #6753 https://pulp.plan.io/issues/6753

Added by ppicka almost 2 years ago

Revision a30a3419

Firewalld python package

Added installation of firewalld python package to installer when specified to install firewall.

closes: #6753 https://pulp.plan.io/issues/6753

Actions #15

Updated by ppicka almost 2 years ago

  • Status changed from POST to MODIFIED
Actions #16

Updated by dkliban@redhat.com almost 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF