machine-drivers / docker-machine-driver-xhyve

docker-machine/minikube/minishift driver plugin for xhyve/hyperkit (native macOS hypervisor.framework)
https://godoc.org/github.com/machine-drivers/docker-machine-driver-xhyve
BSD 3-Clause "New" or "Revised" License
888 stars 74 forks source link

Minikube unable to find xhyve process by PID #198

Closed cory-klein closed 6 years ago

cory-klein commented 6 years ago

I'm unable to start minikube using the xhyve driver:

$ minikube start --vm-driver=xhyve
Starting local Kubernetes v1.7.5 cluster...
Starting VM...
E0913 09:44:27.100376    3249 start.go:143] Error starting host: Error getting state for host: Unable to find 'xhyve' process by PID: 609.

 Retrying.
E0913 09:44:27.101546    3249 start.go:149] Error starting host:  Error getting state for host: Unable to find 'xhyve' process by PID: 609

Is this something that could be resolved in docker-machine-driver-xhyve? Trying to figure out root cause.

cory-klein commented 6 years ago

FWIW, I was able to resolve the above issue with rm ~/.minikube/machines/minikube/minikube.pid. I think it may have been caused by minikube not cleaning up when I rebooted my laptop and may be avoided by running minikube stop before reboots.