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

mac M1 minikube start failed - hyperkit #10120

Closed
xiazemin opened this issue Jan 9, 2021 · 2 comments · Fixed by #10452
Closed

mac M1 minikube start failed - hyperkit #10120

xiazemin opened this issue Jan 9, 2021 · 2 comments · Fixed by #10452
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. l/zh-CN Issues in or relating to Chinese priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@xiazemin
Copy link

xiazemin commented Jan 9, 2021

重现问题所需的命令

失败的命令的完整输出

minikube logs命令的输出

使用的操作系统版本

Creating hyperkit VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
🔥 正在删除 hyperkit 中的“minikube”…
🤦 StartHost failed, but will try again: creating host: 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
🔥 Creating hyperkit VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
😿 Failed to start hyperkit VM. Running "minikube delete" may fix it: creating host: 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

❌ Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: waiting: Maximum number of retries (60) exceeded

😿 If the above advice does not help, please let us know:
👉 https://github.com/kubernetes/minikube/issues/new/choose

@xiazemin xiazemin added the l/zh-CN Issues in or relating to Chinese label Jan 9, 2021
@priyawadhwa priyawadhwa added the kind/support Categorizes issue or PR as a support question. label Jan 25, 2021
@priyawadhwa
Copy link

Hey @xiazemin did you try deleting and recreating the cluster?

minikube delete
minikube start

If that fails, could you provide the output of

minikube start --alsologtostderr

@priyawadhwa priyawadhwa added the triage/needs-information Indicates an issue needs more information in order to work on it. label Jan 25, 2021
@medyagh
Copy link
Member

medyagh commented Feb 10, 2021

till hyperkit add M1 support we should detect this, and dont allow it till it is supported.

https://github.com/medyagh/minikube/blob/a278e45dbfd11dc567ba3646453f2b51a07a8b9c/pkg/minikube/registry/drvs/hyperkit/hyperkit.go#L51

@medyagh medyagh added kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Feb 10, 2021
@medyagh medyagh added this to the v1.18.0 milestone Feb 10, 2021
@medyagh medyagh removed kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it. labels Feb 10, 2021
@medyagh medyagh changed the title mac M1 minikube start failed mac M1 minikube start failed - hyperkit Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. l/zh-CN Issues in or relating to Chinese priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants