Open roy-work opened 9 months ago
Ugh! There's a "Terminate" button under "Sync Status", I did not realize.
… my gut was looking for something like that, but I thought it would be under the hamburger menu next to the Sync. (Which … that menu is also broken?)
Anyways, terminating it caused it to then attempt a new sync, and apply the fix. (My deploy is still broken, but that's another matter, and I at least have a new reason for that…)
I'm still perplexed as to why now, of all times, it chooses to block me?
it affects me to. My deployment model assumes minimal interventions on argocd side. When I have a poisoned commit with faulty deployment definition - argocd sync gets stuck, a new commit which fixes the deployment definition does not have a chance to fix the issue as Argocd waits for previous sync to complete (waiting for healthy state of sts). We are speaking GitOps here, so how do I make it out of the deadlock by pushing a fix to Git?
@alexmt is there any workaround to the problem?
Can I configure a timeout for the sync operation? If the deployments do not get healthy in a time configured - terminate the sync and let next scheduled sync to pick up and apply the last commit which fixes the problem. Is there such timeout configuration available?
This is a real deal breaker for me... please, any help will be greatly appreciated!
Also having the same issue here.
same for me
What are your argocd versions?
Checklist:
argocd version
.Describe the bug
I've got an application (Mimir, a Grafana component) stuck in "waiting for healthy state of apps/StatefulSet/mimir-alertmanager and 8 more resources".
To Reproduce
Not entirely sure.
But I've deployed other applications in the past that similarly failed on their first deployment (… these things are just complicated…) and I've not yet encountered this behavior from ArgoCD, so I'm not sure what is unique about Mimir here.
But I'm deadlocked: Argo won't let me just attempt a new sync, as it thinks a "prior sync is already running". The pods won't fix themselves (the config is truly incorrect) … so deadlock?
Expected behavior
I can't even fathom what's going on here; this is to me a logical deadlock. If an application fails to deploy, we're almost certainly going to follow that broken deploy up with a configuration fix, and re-attempt stuff.
I don't need ArgoCD to get in my way, here, and I don't know why it is in my way.
Definitely not deadlocking me out of attempting deployments…
Screenshots
Version
v2.8.5+85025e1
, from the UI.Logs
I'm not sure Argo is emitting anything useful in the logs here.