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

ApplicationSet Controller constantly reconciling with enable-progressive-syncs flag

XMLWordPrintable

    • GitOps Crimson Sprint 3270, GitOps Crimson Sprint 13

      Describe the bug
      After applying applicationSet manifests with enable-progressive-syncs flag, the ApplicationSet controller sends git fetch requests constantly.

      To Reproduce
      In our case, the customer used openshift-gitops default argocd to deploy an applicaionSet and in the argocd manifest, it has enable-progressive-syncs flag.

      spec:
        applicationSet:
          extraCommandArgs:
            - --enable-progressive-syncs
      

      Expected behavior
      ApplicationSet Controller should only reconcile every 3 mins as the default requeue time is 3 mins. Now it's constantly calling the github.

      Version
      Observed this issue on both v2.6.7 and v2.7.6.

      Logs

      time="2023-07-24T21:47:01Z" level=info msg="git fetch origin main --tags --force --prune" dir=/tmp/https___github.com_some_openshift-iac-multicluster execID=7478a
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application nfs-provisioner-operator\n"
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application nfs-provisioner-config\n"
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application lvms-config\n"
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application acm-config\n"
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application openshift-virtualization\n"
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application acs-operator\n"
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application acm-operator\n"
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application secured-cluster-policy\n"
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application lvms-operator\n"
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application ansible-automation-platform-operator\n"
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application oauth-config\n"
      time="2023-07-24T21:47:01Z" level=debug msg="received update event from owning an application"
      time="2023-07-24T21:47:01Z" level=debug msg="requeue: false caused by application acs-central-configuration\n"
      

      Upstream Reference

      https://github.com/argoproj/argo-cd/issues/14712

        1. applicationset-ocpguestbookappset.yaml
          4 kB
          Sarfaraz Ahamad
        2. applicationset-ocpguestbookappset-1.yaml
          4 kB
          Sarfaraz Ahamad
        3. Screenshot From 2025-02-25 13-08-51.png
          196 kB
          Sarfaraz Ahamad

              rh-ee-mmeetei Mangaal Meetei
              rh-ee-anjoseph Anand Francis Joseph
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: