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

Trying to install a CLOUDNATIVEPG operator

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          Customer cannot install CloudNativePG Operator (namespace-scoped) due to error:  
      `ConstraintsNotSatisfiable: No operators found in package cloudnative-pg in the catalog`.  

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

      4.16.30    

      How reproducible:

          

      Steps to Reproduce:

          1.Deleted the subscription from testapp-dev-01.
           2.and tried to install the operator in openshift-operators namespace but still showing the same.  
          3. [mgeetharani@fedora ~]$ oc project testapp-dev-01 Now using project "testapp-dev-01" on server "https://api.eu-ops-03.5jx5.p3.openshiftapps.com:443". 
      [mgeetharani@fedora ~]$ oc get subs NAME PACKAGE SOURCE CHANNEL cloudnative-pg cloudnative-pg certified-operators stable-v1 
      [mgeetharani@fedora ~]$ oc delete subs/cloudnative-pg subscription.operators.coreos.com "cloudnative-pg" deleted 
      [mgeetharani@fedora ~]$ oc get subs No resources found in testapp-dev-01 namespace.
       [mgeetharani@fedora ~]$ oc get subs -n openshift-operators NAME PACKAGE SOURCE CHANNEL cloudnative-pg cloudnative-pg certified-operators stable-v1 
      [mgeetharani@fedora ~]$ oc get ip -n openshift-operators No resources found in openshift-operators namespace.     

      Actual results:

      oc get subs cloudnative-pg -o yaml
      **  - message: 'constraints not satisfiable: no operators found in package cloudnative-pg**
      **      in the catalog referenced by subscription cloudnative-pg, subscription cloudnative-pg**
      **      exists'**
      **    reason: ConstraintsNotSatisfiable**
      **    status: "True"**
      **    type: ResolutionFailed**
      **  lastUpdated: "2025-02-13T16:26:29Z"*    

       

      Expected results:

        Allow to install a CLOUDNATIVEPG operator

      Additional info:

      https://redhat-internal.slack.com/archives/C3VS0LV41/p1741630209864009
      the operator is listed in your PackageManifests under Certified Operators, I was trying to determine if there’s an issue with the Certified Operators catalog source that could explain the error: ConstraintsNotSatisfiable: No operators found in package cloudnative-pg in the catalog.
      There are no error messages or indications of a degraded state in the status, the Certified Operators catalog source appears healthy:
      

      I recommended:

      1-Delete the current Subscription
      2-Recreate it using the Operator Hub or by applying this YAML:

      {{apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
      name: cloudnative-pg
      namespace: openshift-operators
      spec:
      channel: stable-v1
      installPlanApproval: Automatic
      name: cloudnative-pg
      source: certified-operators
      sourceNamespace: openshift-marketplace
      startingCSV: cloudnative-pg.v1.25.0}}

      However, CU still encountering the same 'unknown failure'.

          

              sminonne@redhat.com Salvatore Dario Minonne
              rhn-support-jmunoz Juan Munoz
              None
              None
              Jian Zhang Jian Zhang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: