Bug: ArgoCD apps get stuck refreshing and not picking up new Git commits when switching from destination server url to destination cluster name and project destinations to match at the same time #13453
Labels
bug
Something isn't working
Checklist:
argocd version
.Describe the bug
ArgoCD apps gets stuck refreshing and don't pick up new Git commits when changing their destination cluster from server url to name and changing the project destination server at the same time.
Expected behavior
Expected the apps to sync as both the destination in the app and the destination in the project were changes at the same time
To Reproduce
Change an app
argoproj.io/v1alpha1
/Application
from this:to this
while also changing the project
argoproj.io/v1alpha1
/AppProject
from this:to this:
I restarted every single componet of ArgoCD but it didn't clear it.
Hard refreshes didn't work.
New Git commits were no longer being picked up by the apps.
Recovery Workaround
The only thing I could find to resolve it was this series of steps:
5. remove the old destination server urls from the projectLooks like removing the old destination IP URLs from the Argo project.yaml causes this issue in all apps even after they are all force sync'd from the latest git commit. I can't remove the old destination URLs without breaking the Argo apps.
Non-cascading delete + recreation of the app doesn't seem to work either, it continues retry attempt #4 of the stuck failing sync...
Version
Logs
The text was updated successfully, but these errors were encountered: