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

CodeCommit Repository Does Not Exist #8425

Open
WilliamCoffeyTri opened this issue Feb 7, 2022 · 1 comment
Open

CodeCommit Repository Does Not Exist #8425

WilliamCoffeyTri opened this issue Feb 7, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@WilliamCoffeyTri
Copy link

WilliamCoffeyTri commented Feb 7, 2022

image

Attached image demonstrates the issue. It is being run directly from the argocd-server container.

I have an AWS CodeCommit repository which very explicitly does exist, that ArgoCD can't recognize. The appropriate private/public key pair was generated and the public key was provided to an AWS account with access to CodeCommit. As demonstrated above, I can pull from the repository using the key with git. However, attempting to do the same with the argocd CLI returns "Repository does not exist". Notably, if I do not include --insecure-skip-server-verification I will receive an unknown host, even if I use ssh-keyscan to introduce the CodeCommit root url into my known_hosts.

I'm unclear what the nature of this issue is- whether it's a bug with ArgoCD, a quirk of AWS, or just some foolishness on my part. Let me know if there's any additional information I can gather to clarify this issue.

@WilliamCoffeyTri
Copy link
Author

image

Expanding on this with a bit of new info- I had used the address format provided by CodeCommit. After adjusting it to mimic the format provided by github instead, ArgoCD seems to find the repository but still fails, reporting a success message for SSH authentication as the error. This is seeming more like an odd quirk of AWS, and potentially how ArgoCD interacts with it.

@ishitasequeira ishitasequeira added the bug Something isn't working label Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants