Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-18861

ACM error: "Operator required OpenShift GitOps Operator is required to create ApplicationSets." when ArgoCD is installed with different name [ACM 2.13]

    • Quality & Stability
    • 0
    • False
    • None
    • False
    • ACM Console Train 26 - 1
    • Important
    • None

      Description of problem:

      ACM won't allow creating ArgoCD application if Openshift-gitops operator is installed under different name.

      Example:

      cjanisze@fedora-vm ~> oc get subscriptions.operators -n openshift-gitops-operator NAME PACKAGE SOURCE CHANNEL openshift-gitops openshift-gitops-operator redhat-operators latest 
      cjanisze@fedora-vm ~> oc get subscriptions.operators openshift-gitops-operator -n openshift-gitops-operator -o yaml Error from server (NotFound): subscriptions.operators.coreos.com "openshift-gitops-operator" not found

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

      2.12.2

      How reproducible:

      every time

      Steps to Reproduce:

      1. Deploy Openshift-gitops operator and change it's name
      2.  

      Actual results:

      ACM error: "Operator required OpenShift GitOps Operator is required to create ApplicationSets."

      Expected results:

      ACM should be able to validate the installation even if it doesn't use default name

      Additional info:

      ~> oc get subscriptions.operators openshift-gitops -n openshift-gitops-operator -o yaml apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: creationTimestamp: "2025-01-11T17:39:32Z" generation: 1 labels: operators.coreos.com/openshift-gitops-operator.openshift-gitops-operator: "" name: openshift-gitops namespace: openshift-gitops-operator resourceVersion: "518668550" uid: 8c8e946a-cb45-4b4c-a01a-e7a42cac813d spec: channel: latest config: env: - name: ARGOCD_CLUSTER_CONFIG_NAMESPACES value: openshift-gitops - name: DISABLE_DEFAULT_ARGOCD_INSTANCE value: "true" installPlanApproval: Automatic name: openshift-gitops-operator source: redhat-operators sourceNamespace: openshift-marketplace status: catalogHealth: - catalogSourceRef: apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource name: certified-operators namespace: openshift-marketplace resourceVersion: "400439525" uid: 988b0b74-69aa-4ad1-b500-f1c8b666b47d healthy: true lastUpdated: "2025-01-11T17:51:34Z" - catalogSourceRef: apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource name: community-operators namespace: openshift-marketplace resourceVersion: "400443003" uid: 0eeed85c-1dff-4284-ba77-3457491bd637 healthy: true lastUpdated: "2025-01-11T17:51:34Z" - catalogSourceRef: apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource name: redhat-marketplace namespace: openshift-marketplace resourceVersion: "400447103" uid: 1fd545f6-74d2-4a37-8fdf-fe2f8c70b659 healthy: true lastUpdated: "2025-01-11T17:51:34Z" - catalogSourceRef: apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource name: redhat-operators namespace: openshift-marketplace resourceVersion: "400453629" uid: bf8d14e3-8ce7-4560-baaf-ec5e01ef2a71 healthy: true lastUpdated: "2025-01-11T17:51:34Z" conditions: - lastTransitionTime: "2025-01-11T17:51:37Z" message: all available catalogsources are healthy reason: AllCatalogSourcesHealthy status: "False" type: CatalogSourcesUnhealthy currentCSV: openshift-gitops-operator.v1.15.1 installPlanGeneration: 3 installPlanRef: apiVersion: operators.coreos.com/v1alpha1 kind: InstallPlan name: install-kfxmx namespace: openshift-gitops-operator resourceVersion: "516135932" uid: 71576803-7d23-409c-bb3b-b0bbb5f09fc5 installedCSV: openshift-gitops-operator.v1.15.1 installplan: apiVersion: operators.coreos.com/v1alpha1 kind: InstallPlan name: install-kfxmx uuid: 71576803-7d23-409c-bb3b-b0bbb5f09fc5 lastUpdated: "2025-02-27T19:16:54Z" state: AtLatestKnown

              rh-ee-kcormier Kevin Cormier
              cjanisze@redhat.com Chris Janiszewski
              Yupeng Chang Yupeng Chang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: