oc mirror command fails with the exit status 1 in RHOCP4

Solution Verified - Updated -

Issue

  • oc mirror command fails with exit status 1, even when the mirroring gets completed on the local registry.

    info: Mirroring completed in 28m56.54s (10.6MB/s)
    Rendering catalog image "test.ocp.local/ocp-docker-local/redhat/community-operator-index:v4.15" with file-based 
    catalog
    error: error rebuilding catalog images from file-based catalogs: error regenerating the cache for 
    test.ocp.local/ocp-docker-local/redhat/community-operator-index:v4.15 exit status 1
    

Environment

  • Red Hat OpenShift Container Platform(RHOCP)
    • 4.15

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