-
Notifications
You must be signed in to change notification settings - Fork 5k
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
macOS catalina: Error in driver during machine creation: hyperkit crashed #5780
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.
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 #5594 (comment) the problem is the hyperkit bug, and hyperkit needs to be upgraded see #5594 (comment) closing this. |
This is related to #5594 - similar root cause, but different error message seen by the user. |
Just try this:
Then everything will be ok. |
@stherrien do you mind trying the solution provided in the comment ? #5780 (comment) |
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! |
thanks, It's just worked. |
thanks it's ok |
We can use the default Docker driver for Minikube on macOS Apple Silicon chips. To do this, we need to install the arm64 version of Minikube and start it with the default Docker driver.
The above setup works on macOS Sequoia Version 15.0.1, Apple M2 Chip. |
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:
The text was updated successfully, but these errors were encountered: