Operator cannot be upgraded with the error "Cannot update: CatalogSource was removed" while the CatalogSource exists in OpenShift 4

Solution Verified - Updated -

Issue

  • The status of the operator shows "Cannot update" and "CatalogSource was removed" or "CatalogSource not found" on the Installed Operators page while the CatalogSource exists.
  • Error messages similar to the following ones can be seen in the logs of the catalog-operator pod:

    type: 'Warning' reason: 'ResolutionFailed' constraints not satisfiable: subscription jaeger-product exists, subscription jaeger-product requires redhat-operators/openshift-marketplace/stable/jaeger-operator.v1.28.0, clusterserviceversion jaeger-operator.v1.28.0 exists and is not referenced by a subscription, redhat-operators/openshift-marketplace/stable/jaeger-operator.v1.28.0 and @existing/openshift-operators//jaeger-operator.v1.28.0 provide Jaeger (jaegertracing.io/v1)
    
    type: 'Warning' reason: 'ResolutionFailed' constraints not satisfiable: no operators found from catalog redhat-operators in namespace openshift-marketplace referenced by subscription 3scale-operator, subscription 3scale-operator exists
    
    type: 'Warning' reason: 'ResolutionFailed' constraints not satisfiable: @existing/openshift-operators//servicemeshoperator.v2.1.1 and @existing/openshift-operators//servicemeshoperator.v2.2.1 provide ServiceMeshControlPlane (maistra.io/v1), subscription servicemeshoperator requires @existing/openshift-operators//servicemeshoperator.v2.2.1, subscription servicemeshoperator exists, clusterserviceversion servicemeshoperator.v2.1.1 exists and is not referenced by a subscription
    
    type: 'Warning' reason: 'ResolutionFailed' constraints not satisfiable: @existing/openshift-operators//openshift-gitops-operator.v1.4.2, @existing/openshift-operators//openshift-gitops-operator.v1.4.3 and redhat-operators/openshift-marketplace/gitops-1.5/openshift-gitops-operator.v1.5.2 provide GitopsService (pipelines.openshift.io/v1alpha1), clusterserviceversion openshift-gitops-operator.v1.4.3 exists and is not referenced by a subscription, subscription openshift-gitops-operator exists, subscription openshift-gitops-operator requires at least one of redhat-operators/openshift-marketplace/gitops-1.5/openshift-gitops-operator.v1.5.2 or @existing/openshift-operators//openshift-gitops-operator.v1.4.2
    
    type: 'Warning' reason: 'ResolutionFailed' constraints not satisfiable: no operators found with name openshift-gitops-operator.v1.2.0 in channel gitops-1.5 of package openshift-gitops-operator in the catalog referenced by subscription openshift-gitops-operator, subscription openshift-gitops-operator exists
    

Environment

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