-
Notifications
You must be signed in to change notification settings - Fork 243
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
Problem using git@ uri: "SSH agent requested but SSH_AUTH_SOCK not-specified" #149
Comments
@leberknecht Hi. Looks almost like the SSH agent is not running. 🤔 Or the key is not loaded / appended to the call / git is not configured to use the proper keys? |
Indeed, i was able to workaround this by setting up ssh env in the entrypoint:
The container is pretty straight forward:
Is |
No, not really. The container isn't running an ssh-agent. What you could do is forward your local socket to your container like this:
You could try this.. |
Hm, wont solve the problem on gce :D But im ok with the workaround, will close this one. But maybe this should be mentioned on the docs :) |
Generally ssh-agents aren't running in containers. This isn't really Gaia specific but rather a Docker specific thing. Unless you know otherwise and I'm missing something.... But that's how it used to be as far as I remember, and I'll be honest, I didn't do research on this ATM. :) |
@leberknecht Could you elaborate a bit on your use case? Would be awesome to hear a bit about the background. 😄 |
Sure :)
on my host, the container is launched successfully, i can log in on http://localhost:8080 Does this work for you (that would be confusing somehow)? On a broader scope: We are looking into using Gaia for our ETL pipeline (yes, im aware that it is alpha state, just looking :) ), the pipeline will be triggered via an API call, the pipeline repo serves the python-example from https://github.com/gaia-pipeline/python-example |
@leberknecht FYI: #150 |
@leberknecht I was able to reproduce your problem and that is definitively not intended and therefore a bug. Thanks for reporting! I will reopen your issue as long as this is not fixed. |
Ops. My bad for missing it then. I apologise. |
@leberknecht #172 should fix your problem. It's important to know that you included your SSH username in your git url. I've added a small validation step which will indicate that. |
Hi,
im getting the above error when trying to add a pipeline with "git@...". Im running the
gaiapipeline/gaia:latest
container, i configured/root/.ssh/id_rsa
and pub key, so if i exec the git-clone inside of the container, it works fine. Any hints? Google mostly points me to something with windows and putty, which isnt the case for me (running on k8s cluster on gce). ThePipelineGitLSRemote
seems not to be very verbose, so i guess the error is thrown further down, is there anything i can do to get more insight?The text was updated successfully, but these errors were encountered: