How to access extended life cycle support repositories for RHEL 7 in Red Hat Satellite 6?
Environment
- Red Hat Satellite 6
Issue
Red Hat Enterprise Linux Extended Life Cycle Support (Unlimited Guests)subscription has enabled with account.
However not able to seeExtended Life cycle Supportrepositories for RHEL 7 in host registered with Red Hat Satellite 6.
Resolution
-
Follow below steps to enable
Extended Life Cycle Support Repositoriesfor RHEL 7 inRed Hat Satellite web-ui
and make it available for host.-
Add the
Red Hat Enterprise Linux Extended Life Cycle Support subscriptionto the manifest:Login to *Satellite web ui* -> Click on *Content* -> *Subscriptions* -> *Add subscriptions* -> Add atleast 1 quantity of `Red Hat Enterprise Linux Extended Life Cycle Support subscription` from the list provided on this page and click submit. -
Enable "Red Hat Enterprise Linux 7 Server - Extended Life Cycle Support (RPMs)" and "Red Hat Enterprise Linux
7 Server - Extended Life Cycle Support - Optional (RPMs)" repositories on your Red Hat Satellite:Satellite webUI => Content => Red Hat Repositories => Search for 'rhel-7-server-els-rpms' -
Sync repositories in Red Hat Satellite web-ui:
Satellite WebUI -> Content -> Sync Status -> select the repository -> synchronize now -
Once done with complete synchronization of repository, add the Extended Life Cycle Support repositories to content-view and publish the new version of the respective content view:
Satellite GUI --> Content --> Content Views --> Click on the content view --> Repositories -> select and add the Extended Life Cycle Support repository -> Click on Publish New Version -
Promote the content view to the life-cycle environment:
Satellite GUI --> Content --> Content Views --> Click on the content view --> Promote the latest version of the content view to the required life-cycle environment by clicking on Promote -
Check if the product certificate for ELS is present under
/etc/pki/product/directory on clientVM registered to Red Hat Satellite:[root@clientVM ~]# ll /etc/pki/product -rw-r--r--. 1 root root 4489 Nov 9 20:49 204.pem <<<<<If not, then, generate the ELS 204.pem certificate file for RHEL 7.9 from This content is not included.Red Hat Product Certificates and place it under
/etc/pki/producton clientVM. -
Run below commands on host machine:
# subscription-manager refresh # subscription-manager repos --enable rhel-7-server-els-rpms # yum clean all # yum repolist -v
-
Root Cause
Extended Life Cycle Support Repositoriesfor Red Hat Enterprise Linux 7 werenot enabledonRed Hat Satelliteand Hence it was not available for content hosts registered.
Diagnostic Steps
-
List
enabledRepositories on Red Hat Satellite with below command:# hammer repository list -
Red Hat Enterprise Linux 7 Server - Extended Life Cycle Support (RPMs)andRed Hat Enterprise Linux 7 Server - Extended Life Cycle Support - Optional (RPMs)should be listed.
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.