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 2122199 - After LEAPP upgrade katello_candlepin_port_t definition is missing
Summary: After LEAPP upgrade katello_candlepin_port_t definition is missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: SELinux
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.11.3
Assignee: Lukas Zapletal
QA Contact: Lukas Pramuk
URL:
Whiteboard:
: 2106268 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-29 13:34 UTC by Odilon Sousa
Modified: 2023-03-08 08:29 UTC (History)
8 users (show)

Fixed In Version: foreman-selinux-3.1.2.1-2,katello-selinux-4.0.2-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2111074
Environment:
Last Closed: 2022-09-28 16:28:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35198 0 Normal Closed Leapp upgrade requires foreman-selinux and katello-selinux to be reinstalled 2022-08-29 13:34:43 UTC
Red Hat Issue Tracker SAT-12271 0 None None None 2022-08-29 13:34:43 UTC
Red Hat Product Errata RHBA-2022:6743 0 None None None 2022-09-28 16:28:59 UTC

Comment 4 Lukas Pramuk 2022-09-13 09:04:30 UTC
VERIFIED.

@Satellite 6.11.3 Snap1
foreman-selinux-3.1.2.1-2.el8sat.noarch
katello-selinux-4.0.2-2.el8sat.noarch

by the reproducer described in comment#0:

1) LEAPP upgrade Satellite 6.11.3 using internal repos
# sed -i 's/_RHEL7/_RHEL8/g' /etc/yum.repos.d/satellite.repo
# leapp upgrade --reboot --enablerepo Sat6-CI_Red_Hat_Satellite_6_11_Composes_Satellite_6_11_RHEL8 --enablerepo Sat6-CI_Satellite_6_11_Composes_Satellite_Maintenance_6_11_RHEL8

2) Perform LEAPP post-upgrade tasks namely switch back to enforcing selinux
# setenforce 1

3) Check for Satellite health
# hammer ping
...
candlepin:        
    Status:          ok
    Server Response: Duration: 36ms
candlepin_auth:   
    Status:          ok
    Server Response: Duration: 40ms
...

4) Check for custom selinux port definitions
# semanage port -l | grep -e 2375 -e 2376 -e 19090 -e 23443
foreman_container_port_t       tcp      2376, 2375
katello_candlepin_port_t       tcp      23443
websm_port_t                   tcp      19090, 9090

>>> after LEAPP upgrade all custom selinux port definitions are present

Comment 9 errata-xmlrpc 2022-09-28 16:28:48 UTC
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 (Satellite 6.11.3 Async Bug Fix Update), 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/RHBA-2022:6743

Comment 10 Evgeni Golov 2023-03-08 08:29:56 UTC
*** Bug 2106268 has been marked as a duplicate of this bug. ***


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