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 2164027 - [Documentation Bug] - Add steps to unset release version on Satellite server after leapp upgrade.
Summary: [Documentation Bug] - Add steps to unset release version on Satellite server...
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.11.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.15.0
Assignee: Akshay Gadhave
QA Contact: Satellite QE Team
URL:
Whiteboard:
: 2163789 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-24 14:23 UTC by Dhaval Joshi
Modified: 2024-08-07 08:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-02-12 07:19:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-15503 0 None None None 2023-01-31 17:11:21 UTC
Red Hat Knowledge Base (Solution) 6995012 0 None None None 2023-02-09 13:41:02 UTC

Description Dhaval Joshi 2023-01-24 14:23:09 UTC
Document URL:
https://access.redhat.com/documentation/en-us/red_hat_satellite/6.11/html-single/upgrading_and_updating_red_hat_satellite/index#upgrading-satellite-or-proxy-in-place-using-leapp_upgrade-guide 

Section Number and Name:
Chapter 4. Upgrading Satellite or Capsule to Red Hat Enterprise Linux 8 In-Place Using Leapp

Describe the issue: 
Under the Procedure section, after point # 10 and before point #11 add a new point that mentions unsetting the release version on the Satellite server and Capsule server.

Suggestions for improvement: 

Add the below commands and description:

Unset the release version on Red Hat Satellite and Capsule servers.

# subscription-manager release --unset
Release preference has been unset            <=== Expected Output

# subscription-manager release --show
Release not set                              <=== Expected Output

Additional information:
During the upgrade of RHEL OS from RHEL-7 to RHEL-8 using leapp utility, leapp sets release version 8.6 on the Satellite server. The customers facing issues with the upgrade of the Satellite server from 6.11 to 6.12 due to the release version 8.6. Hence, opening this documentation bug to add commands to unset the release version.

Comment 8 Eric Helms 2023-02-09 13:41:02 UTC
*** Bug 2163789 has been marked as a duplicate of this bug. ***

Comment 9 Sayan Das 2023-07-04 14:48:54 UTC
I am proposing to reopen the BZ. 

Earlier, What we did was to link https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/upgrading_from_rhel_7_to_rhel_8/performing-post-upgrade-tasks-rhel-7-to-rhel-8_upgrading-from-rhel-7-to-rhel-8 in our Satellite 6.11 upgrade guide and that RHEL doc used to contain the subscription-manager release --unset step.

After the release of RHEL 8.8, The "subscription-manager release --unset" step has been removed from the same RHEL doc\section and now after every leapp upgrade of a satellite\capsule, the sub-man release version is set to 8.8. It might not create any immediate issues right away but will become an issue when RHEL 8.9 or later versions will be released and someone would try to upgrade the satellite with the release version set to 8.8.

I still think we should execute "subscription-manager release --unset" via satellite-maintain only i.e. can perhaps be part of "repositories-setup" step of foreman-maintain. 

If that is not acceptable, then in https://access.redhat.com/documentation/en-us/red_hat_satellite/6.11/html/upgrading_and_updating_red_hat_satellite/upgrading-satellite-or-proxy-in-place-using-leapp_upgrade-guide , we need a 13th step to run "subscription-manager release --unset"

Comment 10 Evgeni Golov 2023-07-10 07:32:57 UTC
This (the `sub-man release --unset`) was hidden in the RHEL docs via https://gitlab.com/redhat/centos-stream/docs/enterprise-docs/-/commit/3774aae83fe0dbc4e8f64b394f80731f3be9ff63 -- it seems it gets enabled when there is an odd release and disabled when there is none (as right now 8.8 is the latest).

With that additional data, I tend to agree that we should re-open this BZ and explicitly add that step to our guide.

Comment 11 Sayan Das 2023-07-10 15:42:10 UTC
I am reopening this BZ based on Comment 9 and Comment 10. 

Feel free to reach out to me if any clarifications would be needed.


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