Minikube: macOS catalina: Error in driver during machine creation: hyperkit crashed

Created on 30 Oct 2019  路  10Comments  路  Source: kubernetes/minikube

The exact command to reproduce the issue:
minikube start
馃槃 minikube v1.5.1 on Darwin 10.15
馃敟 Creating hyperkit VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
馃攧 Retriable failure: create: Error creating machine: Error in driver during machine creation: hyperkit crashed! command line:
hyperkit loglevel=3 console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes random.trust_cpu=on hw_rng_model=virtio base host=minikube
馃敟 Deleting "minikube" in hyperkit ...
馃敟 Creating hyperkit VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
馃攧 Retriable failure: create: Error creating machine: Error in driver during machine creation: hyperkit crashed! command line:
hyperkit loglevel=3 console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes random.trust_cpu=on hw_rng_model=virtio base host=minikube
馃敟 Deleting "minikube" in hyperkit ...
馃敟 Creating hyperkit VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
馃攧 Retriable failure: create: Error creating machine: Error in driver during machine creation: hyperkit crashed! command line:
hyperkit loglevel=3 console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes random.trust_cpu=on hw_rng_model=virtio base host=minikube
馃敟 Deleting "minikube" in hyperkit ...
馃敟 Creating hyperkit VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
馃攧 Retriable failure: create: Error creating machine: Error in driver during machine creation: hyperkit crashed! command line:
hyperkit loglevel=3 console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes random.trust_cpu=on hw_rng_model=virtio base host=minikube
馃敟 Deleting "minikube" in hyperkit ...

馃挘 Unable to start VM: create: Error creating machine: Error in driver during machine creation: hyperkit crashed! command line:
hyperkit loglevel=3 console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes random.trust_cpu=on hw_rng_model=virtio base host=minikube

馃樋 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
馃憠 https://github.com/kubernetes/minikube/issues/new/choose

The full output of the command that failed:

The output of the minikube logs command:

The operating system version:

kinsupport long-term-support omacos top-10-issues triagneeds-information

Most helpful comment

Have same exception. I'm working with Virtual VM - not with hyperkit. Adding --vm-driver=virtualbox solved the issue for me.

All 10 comments

Have same exception. I'm working with Virtual VM - not with hyperkit. Adding --vm-driver=virtualbox solved the issue for me.

I had the same errors. Here are the things I had to do to fix it.

  1. I had installed hyperkit using the instructions on their github repo. I uninstalled hyperkit and reinstalled it using homebrew. I guess the instructions on github didn't install a compatible version whereas homebrew did it.
  2. I deleted ~/.minikube and ran minikube start again.

I had other unrelated errors coz I was behind the proxy. I followed the instructions in the documentation here https://minikube.sigs.k8s.io/docs/reference/networking/proxy/ except I had to add one more CIDR in NO_PROXY environment variable: 192.168.64.0/24 because hyperkit kept assigning IP to VM in that range

@scalaster your solution also worked for me. thanks!

@stherrien @ebokov @scalaster @vvuibert

this is a duplicate issue of https://github.com/kubernetes/minikube/issues/5594#issuecomment-548583815

the problem is the hyperkit bug, and hyperkit needs to be upgraded see https://github.com/kubernetes/minikube/issues/5594#issuecomment-548583815

closing this.

This is related to #5594 - similar root cause, but different error message seen by the user.

Just try this:

brew install hyperkit  # skip if installed
brew link --overwrite hyperkit

Then everything will be ok.

@stherrien do you mind trying the solution provided in the comment ? https://github.com/kubernetes/minikube/issues/5780#issuecomment-577498912

I'm closing this issue as it hasn't seen activity in awhile, and it's unclear if this issue still exists. If this issue does continue to exist in the most recent release of minikube, please feel free to re-open it.

Thank you for opening the issue!

Just try this:

brew install hyperkit  # skip if installed
brew link --overwrite hyperkit

Then everything will be ok.

thanks, It's just worked.

Just try this:

brew install hyperkit  # skip if installed
brew link --overwrite hyperkit

Then everything will be ok.

thanks it's ok

Was this page helpful?
0 / 5 - 0 ratings