Version control: Permission denied error
Hi.
I tried to use Version 7 new features "Version Control" but I faced in below error.
I want to access my repository on github.
I have checked git access from local to github.com was no problem. I can pull from exist repository to local using client terminal.
Could you please guide me how to resolve this issue?
========
[Error message]
An error happened while adding a remote
An error happened while adding the following remote: origin (git@github.com:xxxxx/test_dataiku_git.git), and then fetching it, caused by: IOException: Process failure, caused by: IOException: Process execution failed (return code 1) (error=Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. error: Could not fetch origin )
========
[Environment]
Server: AWS EC2
OS: Amazon Linux
Dataiku Version: 7.0.1
git version: version 2.14.5
Best regards.
Thank you.
Best Answer
-
Hi,
You are likely facing the following known issue:
https://doc.dataiku.com/dss/latest/collaboration/git.html#unknown-host-key-issues
Please try to ssh to git@github.com from the server where DSS is installed using the DSS linux user and then try again. It's important to note that interaction with the remote repositories is always performed by the DSS linux account (e.g. the linux user that installed DSS and is running the corresponding services on the server). Therefore, you should also make sure that the SSH key that you generated corresponds to this DSS linux user.
More information about configuring git remotes in DSS is covered in our documentation here:
https://doc.dataiku.com/dss/latest/collaboration/git.html#working-with-remotes
Let me know if this helps!
Warm Regards,
Andrew
Answers
-
have you followed the steps described here? https://doc.dataiku.com/dss/latest/collaboration/git.html
the way you add a "remote in DSS" depends on if you use HTTPS or SSH interaction mode (https://doc.dataiku.com/dss/latest/collaboration/git.html#working-with-remotes).
GL.
-
aad34210 Partner, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Registered Posts: 25 Partner