"Access to the requested resource" error when mirroring images
Issue
- 'oc adm catalog mirror' is failing even though a right credential is provided.
sha256:fcaa88dab30ec894006228fd60eec076c45b5321be46760c67ac743c6fd9ba61 file://local/index/redhat/redhat-operator-index/openshift-istio/kiali-operator-metadata:8ce37cb2
error: unable to open source layer sha256:effc4ea612c8cb531b45192df865c42f91ac1fa5da56a4af992e019934c442b9 to copy to file://local/index/redhat/redhat-operator-index/rhel8/postgresql-12: unauthorized: Access to the requested resource is not authorized
error: unable to push registry.redhat.io/rhel8/postgresql-12: failed to retrieve blob sha256:17e3a5f768e10e019b5bf765f63f8f9243bdfc7856b6c5b92b2b93430a7a91e7: unauthorized: Access to the requested resource is not authorized
Environment
- OpenShift Container Platform 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.