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

Che 7 ssh git is not working #12850

Closed
gorkem opened this issue Mar 7, 2019 · 5 comments
Closed

Che 7 ssh git is not working #12850

gorkem opened this issue Mar 7, 2019 · 5 comments
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@gorkem
Copy link
Contributor

gorkem commented Mar 7, 2019

git clone git@github.com:gorkem/penfold.git fails with the following message

Request clone failed with message: Cloning into '/projects/penfold'...
fatal: cannot run ssh: No such file or directory
fatal: unable to fork

I think this is because of the missing ssh binaries on the image. This also results on url factory to fail. Here is the devfile that I have used to easily reproduce.

---
specVersion: 0.0.1
name: penfold-bot
projects:
  - name: penfold
    source:
      type: git
      location: 'git@github.com:gorkem/penfold.git'
tools:
  - name: theia-editor
    type: cheEditor
    id: org.eclipse.che.editor.theia:master
  - name: exec-plugin
    type: chePlugin
    id: che-machine-exec-plugin:0.0.1
  - name: typescript
    type: chePlugin
    id: ms-vscode.typescript:1.30.2
@gorkem gorkem added the kind/bug Outline of a bug - must adhere to the bug report template. label Mar 7, 2019
@abhinavsagar
Copy link

@gorkem just use git clone git@github.com:gorkem/penfold.git .

@gorkem
Copy link
Contributor Author

gorkem commented Mar 10, 2019

@abhinavsagar repeated git clone was obviously a copy/paste error.

@l0rd
Copy link
Contributor

l0rd commented Mar 11, 2019

@gorkem the git clone was from the che-theia container right?

@gorkem
Copy link
Contributor Author

gorkem commented Mar 12, 2019

@l0rd correct. che-theia:next image.

@l0rd l0rd mentioned this issue Jun 7, 2019
13 tasks
@benoitf benoitf assigned benoitf and unassigned benoitf Jun 7, 2019
benoitf added a commit to eclipse-che/che-theia that referenced this issue Jun 7, 2019
Also as before, add less utility to better git diff output
related to eclipse-che/che#12850

Change-Id: I1d1b7b83f02f5ebfc9957f3d5106c1ce13a080a6
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
benoitf added a commit to eclipse-che/che-theia that referenced this issue Jun 10, 2019
Also as before, add less utility to better git diff output
related to eclipse-che/che#12850

Change-Id: I1d1b7b83f02f5ebfc9957f3d5106c1ce13a080a6
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
monaka pushed a commit to PizzaFactory/che-theia that referenced this issue Jun 14, 2019
Also as before, add less utility to better git diff output
related to eclipse-che/che#12850

Change-Id: I1d1b7b83f02f5ebfc9957f3d5106c1ce13a080a6
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
@azatsarynnyy
Copy link
Member

Looks like it has been fixed by eclipse-che/che-theia#266
Feel free to reopen if it isn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

No branches or pull requests

5 participants