oc adm catalog mirror failed with "the unable to upload blob" message in OpenShift 4.x

Solution Verified - Updated -

Issue

  • The oc adm catalog mirror command failed with the message like below:
error: unable to upload blob sha256:f0eabd2439ac41f6c32888ed08f51728cf77b48693697271c67c0e05b656aa4f to mirrorregistry/olm-redhat-operator-index: errors:
denied: requested access to the resource is denied
unauthorized: authentication required
  • At the example command above, the domain name of my mirror registry is mirrorregistry

Environment

  • Red Hat Openshift Container Platform
    • 4.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