Cannot enable or Sync EUS/RH-Common Repository(s)

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6.3

Issue

  • "Red Hat Enterprise Linux 7 - Extended Update Support - RH Common" Repository fails to sync. Sync status shows Sync Incomplete.
  • There are no packages in the repository "Red Hat Enterprise Linux 7 - Extended Update Support - RH Common".
  • Cannot enable the RH-Common repository in EUS stream.

Resolution

  • RH-Common does not exist for EUS or AUS streams of RHEL. However these repositories were present in the "Red Hat Enterprise Linux Server - Extended Update Support" manifest, with no content. Red Hat removed these repositories in the beginning of March 2019.
  • If these repository(s) were enabled, they can be safely removed from Satellite. If they are not being listed in the Red Hat Repository(s) list, follow this article to delete the repository(s).
  • If these repositories are still being listed in Content -> Red Hat Repositories -> Red Hat Enterprise Linux Server - Extended Update Support, refresh the manifest by following the steps mentioned here

Root Cause

  • RH-Common does not exist for EUS or AUS streams of RHEL.

Diagnostic Steps

  • If EUS/RH-Common repository(s) were enabled on Satellite, they will fail to sync, with the following error in pulp logs:

    pulp: nectar.downloaders.threaded:INFO: Download failed: Download of https://cdn.redhat.com/content/eus/rhel/server/7/7.5/x86_64/rh-common/os/repodata/repomd.xml failed with code 403: Forbidden
    
  • If Satellite is still using the old manifest, Rh-Common repositories will be listed in Content -> Red Hat Repositories -> Red Hat Enterprise Linux Server - Extended Update Support channel, but enabling them will throw the following error in Satellite GUI:

    The path /content/eus/rhel/server/7/7Server/x86_64/rh-common/os does not seem to be a valid repository. If you think this is an error, please try refreshing your manifest.
    

    Satellite logs (foreman/production.log) will show the following error:

    [app] [E] No valid metadata files found for /content/eus/rhel/server/7/7Server/x86_64/rh-common/os
    [foreman-tasks/action] [E] The path /content/eus/rhel/server/7/7Server/x86_64/rh-common/os does not seem to be a valid repository. If you think this is an error, please try refreshing your manifest. (Katello::Errors::CdnSubstitutionError)
    

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.

Comments