Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-2973

Incorrect phase reconciliation for Argo CD instances

XMLWordPrintable

    • 3
    • False
    • None
    • False
    • GITOPS Sprint 238, GITOPS Sprint 239

      Description of problem:

      Argo CD instance's phase (under `status.phase`) is set to available even if core components are not up yet 

      details captured here: https://github.com/argoproj-labs/argocd-operator/issues/917

      This bug affects our ability to export reliable operator metrics

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. deploy the operator
      2. create an argo-cd instance
      1. verify that phase is initially set to Available and core components are running
      2. edit argo-cd to set the image version to an invalid version:

      spec:
      version: dummy-version # See that core component pods are restarted with invalid image and stuck in pending

      1. Confirm that argo-cd instance phase is still set to available

       

      Actual results:

      Phase remains set to "available"

      Expected results:

      Phase should say "pending"

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

      Phase reconciliation should be fixed, so phase is always represented accurately

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              jrao@redhat.com Jaideep Rao
              jrao@redhat.com Jaideep Rao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: