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 2122200 - foreman-maintain self-upgrade enables RH repos when custom repo mentioned with --maintenance-repo-label for RHEL8
Summary: foreman-maintain self-upgrade enables RH repos when custom repo mentioned wit...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.11.1
Hardware: All
OS: All
high
high
Target Milestone: 6.11.3
Assignee: Amit Upadhye
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-29 13:36 UTC by Odilon Sousa
Modified: 2022-09-28 16:28 UTC (History)
4 users (show)

Fixed In Version: rubygem-foreman_maintain-1.0.16
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2108169
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 34878 0 Normal Closed The self-upgrade mechnism can fail with dependency issues of psql or nftables 2022-09-06 09:32:50 UTC
Red Hat Product Errata RHBA-2022:6743 0 None None None 2022-09-28 16:28:59 UTC

Description Odilon Sousa 2022-08-29 13:36:12 UTC
+++ This bug was initially created as a clone of Bug #2108169 +++

Description of problem:
foreman-maintain self-upgrade enables RH repos along with custom repo mentioned with --maintenance-repo-label for RHEL8, whereas for RHEL7 it only enables custom repo, which was identified while testing BZ 2087753

Version-Release number of selected component (if applicable):
Satellite 6.11.1 Snap 2
rubygem-foreman_maintain-1.0.14-1.el8sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Add repo for next major version maintenance repo under /etc/yum.repos.d/ for disconnected/testing environment.
2. # foreman-maintain self-upgrade --maintenance-repo-label sat-maintain
3.

Actual results:
self-upgrade enables RH repos along with custom repo for el8

Expected results:
self-upgrade should enable only custom repo for el8

Additional info:

Comment 2 Gaurav Talreja 2022-09-08 08:48:38 UTC
Verified

Tested on Satellite 6.11.3 Snap 1.0
Version: rubygem-foreman_maintain-1.0.16-1.el8sat.noarch

Steps:
1. # foreman-maintain self-upgrade --maintenance-repo-label sat-maintain
2. # foreman-maintain self-upgrade 

Observation:
self-upgrade don't enable RH repos and only enables custom repo for el8

Comment 7 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


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