Leapp upgrade using Disconnected Satellite 6 with Content ISO import
Environment
- Red Hat Satellite 6
Issue
- Content ISO import does not show minor version repositories required for Leapp upgrade.
- How to enable RHEL 8.4 minor version repository on disconnected Satellite 6 which using Content ISO import?
Resolution
-
Navigate to the Red Hat Customer Portal and log in.
-
In the upper left of the window, click Downloads.
-
Click Red Hat Enterprise Linux 8.
-
In the Download Red Hat Enterprise Linux window, locate the binary DVD version of the ISO image, for example, RHEL 8.4 Binary DVD, and click Download Now.
-
When the download completes, copy the ISO image to Satellite Server.
-
On Satellite Server, create a mount point and temporarily mount the ISO image at that location:
# mkdir /mnt/iso # mount -o loop rhel-binary-dvd.iso /mnt/iso -
Create directories for Red Hat Enterprise Linux 8.4 AppStream and BaseOS repositories:
# mkdir --parents /var/www/html/pub/sat-import/content/dist/rhel8/8.4/x86_64/baseos/os/ # mkdir --parents /var/www/html/pub/sat-import/content/dist/rhel8/8.4/x86_64/appstream/os/ -
Copy files from ISO image,
# cp -a /mnt/iso/BaseOS/* /var/www/html/pub/sat-import/content/dist/rhel8/8.4/x86_64/baseos/os/ # cp -a /mnt/iso/AppStream/* /var/www/html/pub/sat-import/content/dist/rhel8/8.4/x86_64/appstream/os/ -
To the /var/www/html/pub/sat-import/content/dist/rhel8/listing file, append the version number with a new line. For example, for the RHEL 8.4 ISO, append 8.4.
# sudo vi /var/www/html/pub/sat-import/content/dist/rhel8/listing -
If you do not plan to use the mounted binary DVD ISO image, unmount and remove the directory:
# umount /mnt/iso # rmdir /mnt/iso -
In the Satellite web UI, you should be able to see 8.4 version listing, try to enable those repositories,
Satellite WebUI>>Content>>Red Hat Repositories>>Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)>>Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8.4Satellite WebUI>>Content>>Red Hat Repositories>>Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)>>Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8.4 -
Sync those repositories from:-
`Satellite WebUI` >> `Content` >> `Sync Status` >> -
Includes those two minor version repositories in a content view then publish/promote a content view.
For more KB articles/solutions related to Red Hat Satellite 6.x LEAPP Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x LEAPP Issues
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.