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

DeploymentConfig scaled to 0 stuck at progressing

    XMLWordPrintable

Details

    • 5
    • False
    • False
    • Hide
      Before this update, when a `DeploymentConfig` resource is scaled to `0`, Argo CD displayed it in a *progressing* state with a health status message as *"replication controller is waiting for pods to run"*. This update fixes the edge case and the health check now reports the correct health status of the `DeploymentConfig` resource.
      Show
      Before this update, when a `DeploymentConfig` resource is scaled to `0`, Argo CD displayed it in a *progressing* state with a health status message as *"replication controller is waiting for pods to run"*. This update fixes the edge case and the health check now reports the correct health status of the `DeploymentConfig` resource.
    • GITOPS Sprint 214

    Description

      Operator Version: 1.4.1
      ArgoCD Version: 2.2.2

      When a deploymentconfig is scaled to 0 ArgoCD puts in it progressing state forever:
      HEALTH DETAILS: replication controller is waiting for pods to run

      But since it's scaled to 0 pods will never run... so it's stuck.

      I have tried scaling to 1 and after it scaled to 1 the status changed to Healthy as expected.
      Scaling back to 0 caused the resource to be stuck in progressing again.

      It's affecting 4 of my projects which currently have a deploymentconfig with 0 replicas (I don't want to scale them at this point).

       

      Expected behavior:
      Resources such as DeploymentConfigs scaled to 0 should not wait for the replication controller to see running pods.
      "replication controller is waiting for pods to run" is false since it's status in openshift is "openshift.io/deployment.phase: Complete" it  knows it shouldn't have any resulting pods.

       

      Attachments

        1. argo-dc.png
          argo-dc.png
          64 kB
        2. stuck_prog.png
          stuck_prog.png
          133 kB

        Activity

          People

            isequeir@redhat.com Ishita Sequeira
            ifaigenb Ido Faigenboim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: