Skip to content

ApplicationSet Controller constantly reconciling with enable-progressive-syncs flag #14712

@ciiay

Description

@ciiay

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeature:progressive-syncIssues related to the ApplicationSet progressive sync feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions