Open sagimedina1 opened 2 years ago
@todaywasawesome, why you labeled it as low? It's extremely problematic and I didn't do anything unusual. I just installed argocd using the bitami helm chart - I guess more ppl have the same problem...
I marked it low because it eventually comes back correct and there's a workaround available.
Maybe this is related to #10367 ?
Checklist:
argocd version
.Describe the bug When running the sync command using the CLI, sometimes it takes a very long time to return any output. (10+ Minutes) BUT, if I will run a refresh on the same app while the CLI is waiting, it almost immediately returns the output.
The behavior is inconsistent, sometimes it takes seconds, and sometimes minutes.
To Reproduce
main-app
.argocd app sync main-app
wait until the process is completed.
-> it can take 10+ minutes.
BUT If I will run it like this:
main-app
.argocd app sync main-app
sleep 3
argocd app get main-app --refresh
-> immediately completed a one-liner -
argocd app sync main-app --grpc-web & (sleep 3 && argocd app get main-app --grpc-web --refresh) & wait
Expected behavior I expect that each time I run the sync, the amount of time should be similar and quick. It's an urgent problem because it costs us a lot of computing time on our CI system.
Screenshots
Version Using ArgoCD chart from Bitnami. repository = "https://charts.bitnami.com/bitnami" chart = "argo-cd" version = "4.2.5"
Logs I think it's related to something I saw in the logs related to grpc.method:Watch grpc.service:application.ApplicationService
I think for some reason, the CLI is Watching for something to happen, and this "something" only happens after refresh. IF LOGS ARE NEEDED - I WILL SHARE