What to do when encountering "manifest unknown error: unable to retrieve source image " while using oc-mirror?

Solution Verified - Updated -

Issue

While mirroring operator catalogs with oc-mirror plugin, one might encounter the following errors :

$ oc mirror --config=imageset-config.yaml file:///largefs-dir 
 error: unable to retrieve source image registry.redhat.io/compliance/openshift-selinuxd-rhel8 manifest sha256:568d5b06ebeb54770d5edf7407f2e6e34f8e0fa58a412e19a27124ed496b18d5: manifest unknown: manifest unknown
  error: unable to retrieve source image 

Environment

OCP v4.11+

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