Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

connection reset by peer #3

Open
idealtech-i3dlabs opened this issue Mar 3, 2021 · 1 comment
Open

connection reset by peer #3

idealtech-i3dlabs opened this issue Mar 3, 2021 · 1 comment

Comments

@idealtech-i3dlabs
Copy link

Could you elaborate on step-by-step, especially the ssh-privatekey field (I suspect this is where it fails), not sure why I get an error, my key works when doing a normal sshfs command outside of docker/kube, but in Kube I get:

Warning FailedMount 2s kubelet MountVolume.SetUp failed for volume "data-sshfs" : rpc error: code = Internal desc = mounting failed: exit status 1 cmd: 'sshfs [email protected]:/home/ubuntu /var/lib/kubelet/pods/e49db8e1-8b9f-485b-96cc-18f3121997c8/volumes/kubernetes.io~csi/data-sshfs/mount -o port=22 -o IdentityFile=/tmp/pk-635769383 -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/dev/null' output: "read: Connection reset by peer\n
Also, is there a way to have more/better debugging from kubectl logs when pod is created?

I feel it almost works but I can't see why not

@PatrickHuetter
Copy link

I've exactly the same problem. Already tested every configuration combination but nothing works. It's also very hard to debug since that's the only error message we get. More verbosity would help. I also think it has something to do with the private key.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants