oc-mirror fails to list the available packages in catalog in RHOCP 4

Solution Verified - Updated -

Issue

  • The oc-mirror command to list the available packages within the selected catalog is failing with below error:
$ oc-mirror list operators --catalog=registry.redhat.io/redhat/redhat-operator-index:v4.8

error: failed to list operators, please check catalog name - registry.redhat.io/redhat/redhat-operator-index:v4.9 : render reference "registry.redhat.io/redhat/redhat-operator-index:v4.9": unable to fetch descriptor (sha256:fa3611516d6a014aa6513adfc3f750a6aa86680f96a9ed98b423b68bbe71d8e9) which reports content size of zero: invalid argument

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.9
    • 4.10
    • 4.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