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
Repo server unable to checkout commit #7898
Comments
We're running into the same issue running ArgoCD |
We're running in to the same issue running ArgoCD |
Same issue as above on |
Same issue on |
Same issue as above on |
Same as above on the last version 2.4.14 |
Is there a workaround? |
From a recent discussion on: https://cloud-native.slack.com/archives/C01TSERG0KZ/p1670965919247029
From myself: "In particular, here are two log messages that exemplify the hypothesis above:
From https://github.com/argoproj/argo-cd/blob/master/reposerver/repository/repository.go#L2138-L2154 - with the first checkout timing out after 90s. Once that repo-server pod gets into this state, no new checkout operations are successful. Following my initial plan, I'm going to reduce this timeout and try to repro it consistently locally." |
It might be that increasing ARGOCD_EXEC_TIMEOUT from the 90s default will reduce occurrences of this. In our investigation we were seeing ranges of git checkouts all the way up to the timeout limit. |
I just managed to repro it locally on my mbp:
Result:
Application status can't be determined:
By killing the git checkout process with SIGTERM (instead of SIGKILL), Validated with:
Sample: https://gist.github.com/arturhoo/b3793d35908f932a7856aee17e5ab57f |
…7898) (#11805) * Pull in new version of argoproj/pkg Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> * Allow timeout behavior to be specified in util/exec/exec Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> * Git processes receive SIGTERM when timedout Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> * Update util/exec/exec_test.go Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
…7898) (#11805) * Pull in new version of argoproj/pkg Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> * Allow timeout behavior to be specified in util/exec/exec Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> * Git processes receive SIGTERM when timedout Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> * Update util/exec/exec_test.go Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
…rgoproj#7898) (argoproj#11805) * Pull in new version of argoproj/pkg Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> * Allow timeout behavior to be specified in util/exec/exec Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> * Git processes receive SIGTERM when timedout Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> * Update util/exec/exec_test.go Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: schakrad <chakradari.sindhu@gmail.com>
We are seeing a very similar issue:
We are running ArgoCD |
Similar error at argocd v2.8.4+c279299
|
Hi, similar issue as @emmahsax as well, on I noticed it seems to happen after the repo-server instances perform the daily hard-refresh on all apps (500+). The resources used by the two argo-repo-server pods peek, and there are sometimes some apps that stay blocked with the I was thinking it was possibly due to our use of a volume mount for the |
Hi, I'm also using RedHat gitops operator with ArgoCD v2.8.4 and when I removed the PVC from |
A similar error happened to me on argocd version
Although no Eventually fixed by deleting the repo-server pod and refreshing all argocd applications. What is the root cause of this behavior? Is it a bug? Any fix? |
We also had this happen to us on |
We are experiencing the same issue on v2.10.7+b060053 Can this issue be opened for further investigation or any update provided if you are aware of it? |
we are still seeing this issue in argo 2.10.9 |
Describe the bug
Repo server unable to checkout commit with the following error. Only workaround is to restart it:
To Reproduce
No clear steps to reproduce
Expected behavior
Repo server should be able to self recover from such issue
.
Version
The text was updated successfully, but these errors were encountered: