How to access extended life cycle support repositories for RHEL 7 in Red Hat Satellite 6?

Solution Verified - Updated

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 see Extended Life cycle Support repositories for RHEL 7 in host registered with Red Hat Satellite 6.

Resolution

  • Follow below steps to enable Extended Life Cycle Support Repositories for RHEL 7 in Red Hat Satellite web-ui
    and make it available for host.

    1. Add the Red Hat Enterprise Linux Extended Life Cycle Support subscription to 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.
      
    2. 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'
      
    3. Sync repositories in Red Hat Satellite web-ui:

      Satellite WebUI -> Content -> Sync Status -> select the repository -> synchronize now
      
    4. 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 
      
    5. 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
      
    6. 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/product on clientVM.

    7. 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 Repositories for Red Hat Enterprise Linux 7 were not enabled on Red Hat Satellite and Hence it was not available for content hosts registered.

Diagnostic Steps

  • List enabled Repositories on Red Hat Satellite with below command:

    # hammer repository list 
    
  • Red Hat Enterprise Linux 7 Server - Extended Life Cycle Support (RPMs) and Red Hat Enterprise Linux 7 Server - Extended Life Cycle Support - Optional (RPMs) should be listed.

SBR
Product(s)
Components
Category
Tags

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.