Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argocd app Sync is taking time #20786

Open
2 of 3 tasks
shnigam2 opened this issue Nov 13, 2024 · 5 comments
Open
2 of 3 tasks

Argocd app Sync is taking time #20786

shnigam2 opened this issue Nov 13, 2024 · 5 comments
Labels
bug Something isn't working more-information-needed Further information is requested version:2.13 Latest confirmed affected version is 2.13

Comments

@shnigam2
Copy link

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

When we are simply syncing any apps it is taking lots of time.

To Reproduce

We just simply need to sync any app, it will take more than 20 mins for sure even if there is no change.

Expected behavior

In other environment it is getting synced in not more than 2 mins.

Screenshots
image

We just simply need to trigger the sync of any app, it is taking upto 1-1.5Hrs.

Version

argocd: v2.5.1+504da42
  BuildDate: 2022-11-01T21:14:30Z
  GitCommit: 504da424c2c9bb91d7fb2ebf3ae72162e7a5a5be
  GitTreeState: clean
  GoVersion: go1.18.8
  Compiler: gc
  Platform: linux/amd64

Logs

Paste any relevant application logs here.
@shnigam2 shnigam2 added the bug Something isn't working label Nov 13, 2024
@andrii-korotkov-verkada
Copy link
Contributor

What's your argocd server version?
What kind of sync are you talking about? If there are a lot of steps and for example Rollouts with long canaries, sync is expected to take a while. Does it get stuck?

@andrii-korotkov-verkada andrii-korotkov-verkada added the more-information-needed Further information is requested label Nov 13, 2024
@jimmy-daruwala
Copy link

Hello Andrii,

Our argocd version is: v2.5.1+504da42.
Correct, there seems to be a quite a few steps including canaries one. But this seemed to work fine before. Currently it takes 10-15+ minutes and mostly gets stuck and all applications end up in "Unknown" status. Let us know if you need to check any additional logs, or set up a call.
PS our argocd addons set up below:
jimmy_daruwala@M-TFX2T4PV62 ~ % k get pods -A | grep argo
argocd argocd-application-controller-0 1/1 Running 0 16h
argocd argocd-application-controller-1 1/1 Running 0 16h
argocd argocd-applicationset-controller-67fd897584-jhb7j 1/1 Running 0 16h
argocd argocd-notifications-controller-d547c8d76-tzw27 1/1 Running 0 16h
argocd argocd-redis-6cd966fffc-mcg9b 1/1 Running 0 16h
argocd argocd-repo-server-55f974b986-bnz9s 1/1 Running 0 16h
argocd argocd-repo-server-55f974b986-fb62h 1/1 Running 0 16h
argocd argocd-repo-server-55f974b986-qbmx6 1/1 Running 0 16h
argocd argocd-repo-server-55f974b986-qfbtf 1/1 Running 0 16h
argocd argocd-server-574dd6b597-4xbq9 1/1 Running 0 16h
argocd argocd-server-574dd6b597-54rkc 1/1 Running 0 16h
argocd argocd-server-574dd6b597-px464 1/1 Running 0 16h
argocd argocd-server-574dd6b597-vkbrk 1/1 Running 0 16h
argocd container-secret-sync-28859175-vcdw5 0/1 Completed 0 40m
argocd container-secret-sync-28859190-j6nrc 0/1 Completed 0 25m
argocd container-secret-sync-28859205-bz2jr 0/1 Completed 0 10m

@andrii-korotkov-verkada
Copy link
Contributor

That might be a cli version. Do you have an output for argocd-server? Is it also old? If so, please, try upgrading.

@jimmy-daruwala
Copy link

Sure Andrii, PS the argocd-server version below:
jimmy_daruwala@M-TFX2T4PV62 ~ % argocd version --client
2024/11/13 22:04:52 maxprocs: Leaving GOMAXPROCS=10: CPU quota undefined
argocd: v2.13.0+347f221
BuildDate: 2024-11-04T15:30:50Z
GitCommit: 347f221
GitTreeState: clean
GoVersion: go1.23.2
Compiler: gc
Platform: darwin/arm64

@andrii-korotkov-verkada andrii-korotkov-verkada added version:2.13 Latest confirmed affected version is 2.13 and removed more-information-needed Further information is requested labels Nov 14, 2024
@andrii-korotkov-verkada
Copy link
Contributor

I see. Can you share the resources yamls you are syncing, please? In particular, if you have rollouts with long canaries.

@andrii-korotkov-verkada andrii-korotkov-verkada added the more-information-needed Further information is requested label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working more-information-needed Further information is requested version:2.13 Latest confirmed affected version is 2.13
Projects
None yet
Development

No branches or pull requests

3 participants