Closed SIGUSR2 closed 5 years ago
There could be a few issues that underly this. One recent one is that the repo server becomes unavailable due to load.
Can I ask if you're using one repo or many repos?
I'm using one repo - however, I do not understand what may be the connection between the repo's availability and the fact Argo CD considers it's own labels as a "difference".
I've "solved" the mistery. It was an outside process overwriting some parts of the apps currently under Argo CD control. It wasn't normally supposed to do so, but due to a different problem it was crashing & doing a full repository apply every time it restarted. That was erasing the argo-cd specific labels, sending apps into "OutOfSync" mode.
This one may be closed.
Checklist:
argocd version
.Describe the bug Setup: multiple applications in a single private repository, https access. Symptoms: at random intervals, applications
not set withbecome "OutOfSync". In all cases, the diff refers to the argo-cd labels. We are NOT setting those labels at all in our sources.syncPolicy: automated{}
L.E. - I noticed that apps with
syncPolicy: automated{}
are also affected.This example app consists of:
After manually synching:
Git log for the source files & application definition:
Since Oct 4 there were other commits in the same repo, on other files, but I was unable to link them to the changes in status of the affected apps.
To Reproduce
I was unable to reproduce the issue consistently.
Expected behavior
Application sync status should not change if it's source manifests are the same.
Version
It should be mentioned that I'm running argo-rollouts in the same namespace, though at this point it is supposed to do nothing - there are no Rollout objects in the cluster.
Logs
First log line is me syncing it manually yesterday. Last 2 - me, syncing it manually today.