docker - fresh minikube install hangs when starting (ssh error) -
i getting error below when issuing minikube start (minikube start --vm-driver=virtualbox --v=7) command:
waiting ssh available... getting waitforssh function... using ssh client type: external using ssh private key: /root/.minikube/machines/minikube/id_rsa (-rw-------) &{[-f /dev/null -o passwordauthentication=no -o stricthostkeychecking=no -o userknownhostsfile=/dev/null -o loglevel=quiet -o connectionattempts=3 -o connecttimeout=10 -o controlmaster=no -o controlpath=none docker@127.0.0.1 -o identitiesonly=yes -i /root/.minikube/machines/minikube/id_rsa -p 22] /usr/bin/ssh <nil>} run ssh command: exit 0 ssh cmd err, output: exit status 255: error getting ssh command 'exit 0' : ssh command error: command : exit 0 err : exit status 255 output :
when researching above log lines have noticed ssh command isn't targeting minikube virtual machine ip 127.0.0.1. if manually run ssh command 127.0.0.1 permission denied error.
/usr/bin/ssh -o passwordauthentication=no -o stricthostkeychecking=no -o userknownhostsfile=/dev/null -o connectionattempts=3 -o connecttimeout=10 -o controlmaster=no -o controlpath=none docker@127.0.0.1 -o identitiesonly=yes -i /root/.minikube/machines/minikube/id_rsa -p 22 warning: permanently added '127.0.0.1' (ecdsa) list of known hosts. permission denied (publickey,password).
shouldn't script connect minikube ip other 127.0.0.1? here output vboxmanage showvminfo
/usr/bin/vboxmanage showvminfo minikube | grep nic nic 1: mac: 08002790443f, attachment: nat, cable connected: on, trace: off (file: none), type: 82540em, reported speed: 0 mbps, boot priority: 0, promisc policy: deny, bandwidth group: none nic 1 settings: mtu: 0, socket (send: 64, receive: 64), tcp window (send:64, receive: 64) nic 1 rule(0): name = ssh, protocol = tcp, host ip = 127.0.0.1, host port = 37549, guest ip = , guest port = 22 nic 2: mac: 08002790d54c, attachment: host-only interface 'vboxnet0', cable connected: on, trace: off (file: none), type: 82540em, reported speed: 0 mbps, boot priority: 0, promisc policy: deny, bandwidth group: none
my system layout follows:
- vmwareplayer 6.0.5 build-2443746, hypervisor config enabled.
- ubuntu 17.04
- virtualbox 5.1.22
- minikube version: v0.21.0
- kubectl version 1.7.0
thanks in advance
Comments
Post a Comment