In OpenShift 4 builds stopped working with repodata download errors

Solution Verified - Updated -

Issue

Errors during downloading metadata for repository 'rhel-8-for-x86_64-appstream-rpms': - Status code: 403 for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os/repodata/repomd.xml (IP: 23.40.12.83)
Error: Failed to download metadata for repo 'rhel-8-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • Verified with 4.10
  • Custom UBI image build with entitlements.

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