foreman-maintain is going to need to detect and handle specific conditions when it is managing a Satellite and Capsule running on RHEL 8, examples: * enable/disable the correct RHEL8 repositories * possible different service names for restarting services * different file locations for backup/restore * different OS level commands for firewall and other routines
Created redmine issue https://projects.theforeman.org/issues/27511 from this bug
Upstream bug assigned to apatel
Verified. Tested on Satellite 6.11.0 Snap 22.0 Version: rubygem-foreman_maintain-1.0.10-1.el8sat.noarch Steps: 1. # foreman-maintain --help Observation, In Satellite 6.11, foreman-maintain works on both RHEL7 and RHEL8, the main difference being for Backup/Restore where EL7 will use iptables while EL8 will use nftables (which will be preinstalled), as well as all differences like repositories and package manager between EL7 and EL8 are handled correctly.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5498