-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
SSH agent requested but SSH_AUTH_SOCK not-specified Error occured when upgrade version to v2.12.0 #2877
Comments
PS:Use this PR |
Hi @wangxin-trec , argo-helm is for supporting to install Argo CD but we don't take care of Argo CD itself. [updated]
Helm chart version looks too old for Argo CD v2.12.0 since we also update CRD, CM and Secret as following upstream. So I recommend you to update Helm Chart itself. |
Hi, we are having the same issue after upgrading argo-cd Helm Chart 6.11.1 -> 7.4.4. No idea how to fix it other than rollback to 6.11.1. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am getting the same error now after updating to v2.12.6+4dab5bd (Build Date: 2024-10-18T17:39:26Z). We haven't seen this error previously with the earlier versions. Comparison error is shown for the app state:
There is a related StackOverflow question: Some people managed to resolve the issue by updating to a different version. For others it was due to some indentation problem in the repositories.yaml. UPDATE: I have managed to resolve this issue by simply removing the connection from the repositories via the ArgoCD UI, then setting it up again with a new SSH key. After this, the SSH connection started to work again. I am not really sure what caused the issue, but something might had been corrupted during the update and setting this up again has helped to resolve the issue. |
Adding another posible solution just in case the sourece repo is taken with SSH (not HTTPS), make sure the project you deployed the app has the correct ssh keys or whatever configured with the SCM (gtihub,gitlab...) to be able to make the SSH connection and pull the data from the repo. |
Describe the bug
Error occured when upgrade version to v2.12.0
Error:
error resolving repo revision: rpc error: code = Unknown desc = error creating SSH agent: "SSH agent requested but SSH_AUTH_SOCK not-specified"
Sync operation to failed: ComparisonError: Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = failed to initialize repository resources: rpc error: code = Internal desc = Failed to fetch default:
git fetch origin --tags --force --prune
failed exit status 128: [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. (retried 5 times)Related helm chart
argo-cd
Helm chart version
3.9.3
To Reproduce
1.version 2.11.7 -> 2.12.0
Expected behavior
SSH related error
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered: