Mirroring olm image reports no such column: api_provider.channel_entry_id"

Solution Verified - Updated -

Issue

  • Following the [documentation(https://docs.openshift.com/container-platform/4.4/operators/olm-restricted-networks.html)] to mirror the OLM image for restricted network reports the following error.
time="2020-07-30T12:39:51Z" level=warning msg="eliding package: error converting to packagemanifest" action="refresh cache" err="packagemanifest has no valid channels" source="{my-operator-catalog openshift-marketplace}"
time="2020-07-30T12:39:51Z" level=warning msg="error getting bundle, eliding channel" action="refresh cache" channel=1.17-stable error="rpc error: code = Unknown desc = no such column: api_provider.channel_entry_id" source="{my-operator-catalog openshift-marketplace}"
time="2020-07-30T12:39:51Z" level=warning msg="error getting bundle, eliding channel" action="refresh cache" channel=alpha error="rpc error: code = Unknown desc = no such column: api_provider.channel_entry_id" source="{my-operator-catalog openshift-marketplace}"
time="2020-07-30T12:39:51Z" level=warning msg="eliding package: error converting to packagemanifest" action="refresh cache" err="packagemanifest has no valid channels" source="{my-operator-catalog openshift-marketplace}"
  • The above logs are seen in the catalog source pods in openshift-marketplace project.
  • Would the issue be related to the oc version or the base image included for the OLM mirror image build while running oc adm catalog build command?

Environment

  • Red Hat OpenShift Container Platform
    • 4.4

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