-
Notifications
You must be signed in to change notification settings - Fork 229
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
[SURE-8882] extend our testing to ssh downloads with keys #2751
Comments
We're facing the same issue here. SSH doesn't work at all when pulling helm charts. Amusingly, using SSH for the GitRepo itself does work (the initcontainer runs We're using Rancher 2.9.3 with fleet 0.10.4 |
If downloading a helm chart via ssh fails, that would be a separate issue. The |
I looked up the source code for go-getter, and its support for fetching from Git repos indeed relies on running git commands directly, which would trigger the OpenSSH error related to the missing /etc/passwd entry. From what I could gather, go-git has a Git implementation of its own and it uses That's probably why this problem happens when fleet downloads a chart through Git+SSH but not when it fetches a GitRepo using Git+SSH - in our case, even when using the same repo and same credentials. (I apologize if any of my messages comes out as confusing or maybe rude, as English is not my native language) |
SURE-8882
Issue description:
The customer upgraded from Rancher 2.8.2 to Rancher 2.8.5 and some of their upstream fleet jobs are getting this error:
Troubleshooting steps:
The customer tried changing the credentials and still get the same error.
They are able to clone the repository locally using the same credentials supplied to Fleet. This also happens on most of the configured repositories, not just one or two git repos.
They are able to exec into the gitjob pod and manually clone the repo with success.
Checked from inside the GitJob pod:
I reviewed two of their GitRepo manifests (working/not-working) and they are literally pointing to the same repo, the only difference is the path used.
The customer dowgraded from 0.9.5 to 0.9.0 and the problem repos started to sync again
Repro steps:
unable to repro in-house
Workaround:
Is a workaround available and implemented? yes/no
What is the workaround: Downgrade fleet
Actual behavior:
After upgrade, some gitrepos fail with error:
Expected behavior:
All gitrepos continue to sync with no error
Files, logs, traces:
Additional notes:
The text was updated successfully, but these errors were encountered: