Clients fail to download data from Satellite with "Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried."

Solution Verified - Updated -

Issue

  • Clients randomly unable to download the metadata from the Satellite server after upgrade.
  • The following yum/dnf errors are seen on the clients side:

    2023-09-18T05:51:06Z DEBUG Cannot download 'https://hostname.example.com/pulp/repos/companyname_IT/Default-Environment/ContentView_name/content/dist/rhel/server/7/7.9/x86_64/rhscl/1/os': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
    2023-09-18T05:51:06Z DEBUG Cannot download 'https://hostname.example.com/pulp/repos/companyname_IT/Default-Environment/ContentView_name/content/dist/rhel/server/7/7.9/x86_64/optional/os': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
    2023-09-18T05:51:06Z DEBUG Cannot download 'https://hostname.example.com/pulp/repos/companyname_IT/Default-Environment/ContentView_name/content/dist/rhel/server/7/7Server/x86_64/sat-client/6/os': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
    2023-09-18T05:51:06Z DEBUG Cannot download 'https://hostname.example.com/pulp/repos/companyname_IT/Default-Environment/ContentView_name/content/dist/rhel/server/7/7.9/x86_64/os': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
    2023-09-18T05:51:06Z DEBUG Cannot download 'https://hostname.example.com/pulp/repos/companyname_IT/Default-Environment/ContentView_name/content/dist/rhel/server/7/7.9/x86_64/supplementary/os': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
    2023-09-18T05:51:06Z DEBUG Cannot download 'https://hostname.example.com/pulp/repos/companyname_IT/Default-Environment/ContentView_name/content/dist/rhel/server/7/7Server/x86_64/extras/os': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
    2023-09-18T05:51:06Z WARNING Failed to synchronize cache for repo 'rhel-server-rhscl-7-rpms', ignoring this repo.
    2023-09-18T05:51:06Z WARNING Failed to synchronize cache for repo 'rhel-7-server-optional-rpms', ignoring this repo.
    2023-09-18T05:51:06Z WARNING Failed to synchronize cache for repo 'rhel-7-server-satellite-client-6-rpms', ignoring this repo.
    2023-09-18T05:51:06Z WARNING Failed to synchronize cache for repo 'rhel-7-server-rpms', ignoring this repo.
    2023-09-18T05:51:06Z WARNING Failed to synchronize cache for repo 'rhel-7-server-supplementary-rpms', ignoring this repo.
    2023-09-18T05:51:06Z WARNING Failed to synchronize cache for repo 'rhel-7-server-extras-rpms', ignoring this repo.
    2023-09-18T05:51:06Z DEBUG No module defaults found
    

Environment

  • Red Hat Satellite 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content