Open HariSekhon opened 1 year ago
I believe ArgoCD needs some time limit on attempting to Sync after which the thread and state should be killed and reset to avoid being stuck indefinitely in this state.
I believe ArgoCD needs some time limit on attempting to Sync after which the thread and state should be killed and reset to avoid being stuck indefinitely in this state.
same issue here, using argocd v2.13.0+aa990d6 with go version go1.22.6 on Kubernetes
Checklist:
argocd version
.Describe the bug
ArgoCD got stuck trying to sync and app, and gives no option to terminate the sync and doesn't pick up the newer git commit which should fix the issue.
This was caused by a
kustomize build
error in the app's yaml manifest directory, but fixing it in git hasn't helped as Argo is stuck.To Reproduce
Create any kustomize overlay with a duplicate resource that causes
kustomize build --enable-helm
to fail such as defining the namespace in overlay.The UI gives no option to terminate Sync, so I've tried the CLI without success too:
I've killed all the argocd pods but they respawn back into the same state.
Btw this is running 3 application controllers in HA mode with env var
ARGOCD_CONTROLLER_REPLICAS=3
too. I suspect this is why the state persists even when I killed all 3 pods at the same time.Deleting the app in a non-cascading delete also didn't work, it came back with the same stuck sync state (I'm using app-of-apps pattern which recreated the app).
Deleting the app in a foreground delete to wipe out the contents also didn't work, it just got stuck deleting.
Expected behavior
Expected it to fail or at least time out eventually, then continue to pick up new Git commits and succeed with those newer versions, not get completely stuck.
Screenshots
Version