Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 2039081

Summary: LEAPP should not set a releasever on completion of upgrade to RHEL 9
Product: Red Hat Enterprise Linux 8 Reporter: Craig Donnelly <cdonnell>
Component: leapp-repositoryAssignee: Petr Stodulka <pstodulk>
Status: CLOSED WONTFIX QA Contact: Martin KlusoĊˆ <mkluson>
Severity: medium Docs Contact:
Priority: low    
Version: 8.6CC: fkrska, jcastran, jsefler, podvody, pstodulk, tbowling
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-10 07:28:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Craig Donnelly 2022-01-10 21:55:21 UTC
Description of problem:
When completing an upgrade from RHEL 8.6 to 9.0 builds, the FirstBoot phase of LEAPP in RHSM mode attempts to set the RHSM Release (releasever) statically to 9.0.

This should not be desired behavior, unless the customer already has a similar configuration in place. For instance, I might expect that if a customer is releasever locked to RHEL 8.6 with EUS repositories enabled, then perhaps I may lock this customers release to 9.0 - with EUS repositories enabled for 9.0 on the resulting upgraded system.

I do not however expect a normal 8.6.z system to be upgraded to RHEL 9 and then releasever locked to RHEL 9.0

This has the potential to create unnecessary confusion and customer cases in regards to being unable to update packages to newer releases.

Version-Release number of selected component (if applicable):
python3-leapp-0.13.0-100.20211223153804354186.master.6.gfb91abd.el8.noarch
leapp-upgrade-el8toel9-0.15.0-100.20220104155018578811.master.37.gf2026d2.el8.noarch
leapp-0.13.0-100.20211223153804354186.master.6.gfb91abd.el8.noarch
leapp-repository-deps-el9-5.0.9-100.202201041550Z.f2026d2.master.el9.noarch
leapp-deps-el9-5.0.9-100.202201041550Z.f2026d2.master.el9.noarch

How reproducible:
100% with RHSM mode.

Steps to Reproduce:
1. Entitle system properly for RHEL 8
2. Perform leapp upgrade from 8 -> 9.
3. Await FirstBoot phase.

Actual results:
Tries or succeeds to set releasever to 9.0.

Expected results:
Release should be unset when upgrade is complete.

Additional info:

Comment 1 Petr Stodulka 2022-01-11 10:31:00 UTC
Hi Craig! Thanks for the report. We are happy to sync with you about this problem as from our understanding the missing lock is more problematic. Imagine situation when a newer version of OS is released in general (e.g. 9.1, 9.2, ...). Customers usually needs the specific target OS release because of certifications. Running `dnf update` command after the upgrade when newer releases are present means that customers are running on non-certified system usually and it's pretty hard to get back (imagine now people upgrading to 8.4 with E4S (SAP) and than install stuff from RHEL 8.5...). The same is applied for upgrades 7 -> 8. Feel free to schedule a mtg during the next week to sync about that. Invite please also Pavel Odvody.

Comment 7 RHEL Program Management 2023-07-10 07:28:09 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.