oc-mirror plugin fails with catalog is invalid & 401 unauthorized error when it is hang for few minutes in RHOCP 4

Solution Verified - Updated -

Issue

  • Mirroring images for a disconnected environment using oc-mirror plugin gets hung and then getting failed.
  • Even though the registry credentials are good as per this solution , mirroring is getting failed.
  • Usually the error occurs in between the mirroring while it is not able to get an image in a specified time limit.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.12
    • Disconnected

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