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

kvm: ssh: unable to authenticate -> create host timed out #6975

Closed
gred7 opened this issue Mar 10, 2020 · 2 comments
Closed

kvm: ssh: unable to authenticate -> create host timed out #6975

gred7 opened this issue Mar 10, 2020 · 2 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@gred7
Copy link

gred7 commented Mar 10, 2020

The exact command to reproduce the issue:
minikube start

The full output of the command that failed:

➜ ~ minikube start
πŸ˜„ minikube v1.8.1 on Ubuntu 18.04
✨ Using the kvm2 driver based on existing profile
πŸ’Ώ Downloading VM boot image ...
βŒ› Reconfiguring existing host ...
πŸƒ Using the running kvm2 "minikube" VM ...

πŸ’£ Unable to start VM. Please investigate and run 'minikube delete' if possible
❌ Error: [SSH_AUTH_FAILURE] post-start: command runner: ssh client: Error dialing tcp via ssh client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [publickey none], no supported methods remain
πŸ’‘ Suggestion: Your host is failing to route packets to the minikube VM. If you have VPN software, try turning it off or configuring it so that it does not re-route traffic to the VM IP. If not, check your VM environment routing options.
πŸ“˜ Documentation: https://minikube.sigs.k8s.io/docs/reference/networking/vpn/
⁉️ Related issues:
β–ͺ #3930
➜ ~ minikube delete
πŸ”₯ Deleting "minikube" in kvm2 ...
πŸ’€ Removed all traces of the "minikube" cluster.
➜ ~ rm -rf .minikube
➜ ~ minikube start
πŸ˜„ minikube v1.8.1 on Ubuntu 18.04
✨ Automatically selected the kvm2 driver. Other choices: virtualbox, none
πŸ’Ύ Downloading driver docker-machine-driver-kvm2:
> docker-machine-driver-kvm2.sha256: 65 B / 65 B [-------] 100.00% ? p/s 0s
> docker-machine-driver-kvm2: 13.88 MiB / 13.88 MiB 100.00% 7.34 MiB p/s 3
πŸ’Ώ Downloading VM boot image ...
> minikube-v1.8.0.iso.sha256: 65 B / 65 B [--------------] 100.00% ? p/s 0s
> minikube-v1.8.0.iso: 173.56 MiB / 173.56 MiB [] 100.00% 11.23 MiB p/s 15s
πŸ”₯ Creating kvm2 VM (CPUs=2, Memory=3997MB, Disk=20000MB) ...
πŸ’Ύ Downloading preloaded images tarball for k8s v1.17.3 ...
> preloaded-images-k8s-v1-v1.17.3-docker-overlay2.tar.lz4: 499.26 MiB / 499

πŸ’£ Unable to start VM. Please investigate and run 'minikube delete' if possible: creating host: create host timed out in 120.000000 seconds

😿 minikube is exiting due to an error. If the above message is not useful, open an issue:
πŸ‘‰ https://github.com/kubernetes/minikube/issues/new/choose
➜ ~ minikube start
πŸ˜„ minikube v1.8.1 on Ubuntu 18.04
✨ Using the kvm2 driver based on existing profile
πŸ’Ώ Downloading VM boot image ...
βŒ› Reconfiguring existing host ...
πŸƒ Using the running kvm2 "minikube" VM ...

πŸ’£ Unable to start VM. Please investigate and run 'minikube delete' if possible
❌ Error: [SSH_AUTH_FAILURE] post-start: command runner: ssh client: Error dialing tcp via ssh client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
πŸ’‘ Suggestion: Your host is failing to route packets to the minikube VM. If you have VPN software, try turning it off or configuring it so that it does not re-route traffic to the VM IP. If not, check your VM environment routing options.
πŸ“˜ Documentation: https://minikube.sigs.k8s.io/docs/reference/networking/vpn/
⁉️ Related issues:
β–ͺ #3930
➜ ~ minikube delete
πŸ”₯ Deleting "minikube" in kvm2 ...
πŸ’€ Removed all traces of the "minikube" cluster.
➜ ~ minikube start
πŸ˜„ minikube v1.8.1 on Ubuntu 18.04
✨ Automatically selected the kvm2 driver. Other choices: virtualbox, none
πŸ’Ώ Downloading VM boot image ...
πŸ”₯ Creating kvm2 VM (CPUs=2, Memory=3997MB, Disk=20000MB) ...

πŸ’£ Unable to start VM. Please investigate and run 'minikube delete' if possible: creating host: create host timed out in 120.000000 seconds

😿 minikube is exiting due to an error. If the above message is not useful, open an issue:
πŸ‘‰ https://github.com/kubernetes/minikube/issues/new/choose

The output of the minikube logs command:

πŸ’£ command runner
❌ Error: [SSH_AUTH_FAILURE] getting ssh client for bootstrapper: Error dialing tcp via ssh client: ssh: handshake failed: ssh: unable to authenticate, attempted methods [publickey none], no supported methods remain
πŸ’‘ Suggestion: Your host is failing to route packets to the minikube VM. If you have VPN software, try turning it off or configuring it so that it does not re-route traffic to the VM IP. If not, check your VM environment routing options.
πŸ“˜ Documentation: https://minikube.sigs.k8s.io/docs/reference/networking/vpn/
⁉️ Related issues:
β–ͺ #3930

The operating system version:
Ubuntu 18.04

@tstromberg tstromberg changed the title minikube 1.8.1 doesn't run on Ubuntu kvm: ssh: unable to authenticate -> create host timed out Mar 10, 2020
@priyawadhwa priyawadhwa added the kind/support Categorizes issue or PR as a support question. label Mar 18, 2020
@tstromberg
Copy link
Contributor

tstromberg commented Apr 15, 2020

Do you mind checking if minikube v1.9.2 fixes this issue?

I believe this may have been related to the randomization issue fixed here:
#7208

tip: You will need to first run minikube delete to upgrade the bad ISO install.

@medyagh
Copy link
Member

medyagh commented Jul 8, 2020

Hi @gred7 , I haven't heard back from you, I wonder if you still have this issue?
Regrettably, there isn't enough information in this issue to make it actionable, and a long enough duration has passed, so this issue is likely difficult to replicate.

I will close this issue for now but please feel free to reopen whenever you feel ready to provide more information.

Meanwhile have you tried out newest driver Docker Driver with latest version of minikube?
you could try
minikube delete
minikube start --driver=docker

for more information on the docker driver checkout:
https://minikube.sigs.k8s.io/docs/drivers/docker/

@medyagh medyagh closed this as completed Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

4 participants