Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1643877

Summary: Disconnected Upgrade must no longer use install script
Product: Red Hat Satellite Reporter: Stephen Wadeley <swadeley>
Component: DocumentationAssignee: Sergei Petrosian <spetrosi>
Status: CLOSED CURRENTRELEASE QA Contact: Stephen Wadeley <swadeley>
Severity: high Docs Contact:
Priority: high    
Version: 6.4CC: swadeley
Target Milestone: Unspecified   
Target Release: Unused   
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: 2018-11-01 07:19: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 Stephen Wadeley 2018-10-29 10:15:48 UTC
Document URL: 

https://access.redhat.com/documentation/en-us/red_hat_satellite/6.4/html/upgrading_and_updating_red_hat_satellite/upgrading_red_hat_satellite#upgrading_a_disconnected_satellite

Section Number and Name: 

3.1.2. Upgrading a Disconnected Satellite Server

Describe the issue: 

The foreman-maintain tool has been added to the ISO for Satellite 6.4

The foreman-maintain tool is the preferred way to upgrade from Sat6.3 to Sat6.4

Suggestions for improvement: 

Change:
Obtain the latest ISO file, mount it, and install the packages by following the procedures in the Downloading and Installing from a Disconnected Network section of the Installing Satellite Server from a Disconnected Network. 

To:
Obtain the latest ISO file and mount it, but do not install any packages, by following the procedures in the Downloading and Installing from a Disconnected Network section of the Installing Satellite Server from a Disconnected Network.

I think we need to make that more verbose, use separate steps, and link directly to the subsections. The safest would be to have two steps I think:

then have these two subsystems:

Obtain the latest ISO files by following Downloading the Binary DVD Images in the Installing Satellite Server from a Disconnected Network guide.

Mount the ISO files by following Configuring the Base System with Offline Repositories in the Installing Satellite Server from a Disconnected Network guide. Do not install or update any packages at this stage.



Then add this new step:

. Copy the ISO file's repository data file for the Red Hat Satellite packages.
+
[options="nowrap"]
----
# cp /media/sat6/media.repo /etc/yum.repos.d/sat6.repo
----

. Edit the repository data file:
.. Add the `baseurl` directive.
+
[options="nowrap"]
----
baseurl=file:///media/sat6/
----
.. Change the default `InstallMedia` repository name to something suitable.
+
[options="nowrap"]
----
[Sat6.4]
----

Then add this new step:

. Copy the ISO file's repository data file for Red Hat Software Collections.
+
[options="nowrap"]
----
# cp /media/sat6/RHSCL/media.repo /etc/yum.repos.d/RHSCL.repo
----

. Edit the repository data file:
.. Add the `baseurl` directive.
+
[options="nowrap"]
----
baseurl=file:///media/sat6/RHSCL/
----
.. Change the default `InstallMedia` repository name to something suitable.
+
[options="nowrap"]
----
[RHSCL]
----

Then add this new step:

. Copy the ISO file's repository data file for Red Hat Satellite Maintenance.
+
[options="nowrap"]
----
# cp /media/sat6/sat-maintenance/media.repo /etc/yum.repos.d/sat-maintenance.repo
----

. Edit the repository data file:
.. Add the `baseurl` directive.
+
[options="nowrap"]
----
baseurl=file:///media/sat6/sat-maintenance/
----
.. Change the default `InstallMedia` repository name to something suitable.
+
[options="nowrap"]
----
[sat-maintenance]
----

(the procedure then continues with "If you have custom Apache server configurations,")


Additional information: 


Change these commands:
foreman-maintain upgrade check --target-version 6.4
foreman-maintain upgrade run --target-version 6.4

by adding:
 --whitelist="repositories-validate,repositories-setup"

(because in a disconnected environment the repos are not set up by subscription-manager)