Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-6772

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 4.10.0
    • OLM
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The status of the operator shows "Cannot update" "CatalogSource was removed" 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:Rawtype: '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)
      Rawtype: '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
      Rawtype: '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
      Rawtype: '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
      Rawtype: '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

      Version-Release number of selected component (if applicable):

       

      How reproducible:

      Often seen at times of Operator upgrade.

      Steps to Reproduce:

      
      

      Actual results:

      Fails with error "Cannot update" "CatalogSource was removed"

      Expected results:

      Should be upgraded without issues

      Additional info: Can be resolved using : https://access.redhat.com/solutions/6603001 

              agreene1991 Alexander Greene (Inactive)
              rhn-support-jkaur Jaspreet Kaur
              Jian Zhang Jian Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: