Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2055208 - On RHEL8 offline backup fails with iptables: command not found
Summary: On RHEL8 offline backup fails with iptables: command not found
Keywords:
Status: CLOSED DUPLICATE of bug 2040650
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-16 13:26 UTC by Lukas Pramuk
Modified: 2022-03-18 14:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-16 13:55:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lukas Pramuk 2022-02-16 13:26:19 UTC
Description of problem:
On RHEL8 offline backup fails with iptables: command not found



Version-Release number of selected component (if applicable):
7.0.0 Snap9
rubygem-foreman_maintain-1.0.3-1.el8sat.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. Run offline backup

# satellite-maintain backup offline /tmp
Starting backup: 2022-02-16 08:00:09 -0500
Running preparation steps required to run the next scenarios
================================================================================
Make sure Foreman DB is up: 
/ Checking connection to the Foreman DB                               [OK]      
--------------------------------------------------------------------------------


Running Backup
================================================================================
Confirm turning off services is allowed: 
WARNING: This script will stop your services.

Do you want to proceed?, [y(yes), q(quit)] y
                                                                      [OK]      
--------------------------------------------------------------------------------
Prepare backup Directory: 
Creating backup folder /tmp/satellite-backup-2022-02-16-08-00-09      [OK]
--------------------------------------------------------------------------------
Check if the directory exists and is writable:                        [OK]
--------------------------------------------------------------------------------
Generate metadata: 
\ Saving metadata to metadata.yml                                     [OK]      
--------------------------------------------------------------------------------
Detect features available in the local proxy:                         [OK]
--------------------------------------------------------------------------------
disable active sync plans: 
- Total 0 sync plans are now disabled.                                [OK]      
--------------------------------------------------------------------------------
Add maintenance_mode chain to iptables:                               [FAIL]
Failed executing iptables -N FOREMAN_MAINTAIN, exit status 127:
 sh: iptables: command not found
--------------------------------------------------------------------------------
Scenario [Backup] failed.

The following steps ended up in failing state:

  [iptables-add-maintenance-mode-chain]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="iptables-add-maintenance-mode-chain"


Actual results:
offline backup fails due to missing iptables command

Expected results:
offline backup is successful on RHEL8

Comment 2 Lukas Pramuk 2022-02-16 13:55:27 UTC

*** This bug has been marked as a duplicate of bug 2040650 ***


Note You need to log in before you can comment on or make changes to this bug.