-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
hyperkit macOS catalina: getting MAC address from UUID: vmnet: error from vmnet.framework: -1 #5594
Comments
Try deleting the /Users/ashkanaleali/.minikube directory and start minikube again and see if that helps |
I deleted that directory. It didn't help. |
I suspect there is some kind of Catalina-specific permissions issue going on, but it could also be some other kind of API mismatch. I don't have a Catalina host to check against yet. |
I think this is related to #5610 |
@ashkan-leo
do you mind sharing the version of docker" |
@ashkan-leo @natebrunette
one thing I noticed brew upgrade did NOT upgrade my hyperkit version ! which made debugging this issue more complicated. |
Excellent @natebrunette thank you so much for getting back to me ! I also confirm that upgrading both my docker and hyperkit driver fixed my issue too.
$ docker version
it worth noting that brew upgrade failed to upgrade my hyperkit. so I had to manually delete it.
make sure you download latest version of docker desktop from https://www.docker.com/products/docker-desktop Update: it worth noting for some users, |
so the new release is already tagged? |
Neither HyperKit version Using minikube 1.5.2, hyperkit 0.20190802 and macOS 10.15.0 Update: while upgrading macOS, minikube and hyperkit didn't work, after I upgraded Docker Desktop, minikube somehow started working. |
Since it's been a few months now I'm trying to get a release tagged so we can get this update into Homebrew, see moby/hyperkit#267. |
New version of |
I seem to also get this problem on the latest version of hyperkit when my mac's internet sharing is turned on and in use |
Hmm... I also had internet sharing turned on and got this issue. I wonder if that's the root cause of the issue? None of my co-workers were running into it. |
I ran into this today, and strangely enough, re-running minikube got past the issue. This was with |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Still having this message on the latest version (I also have internet sharing over wifi on). Any solution for this? |
@cglacet do you mind sharing output with latest verison of minikube? |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@medyagh I think I found a solution the other time, but I can't find it again (I most likely gave up and switched to virtualbox). Here is the output I have: ❯ minikube start --memory 2048
😄 minikube v1.17.1 on Darwin 11.0.1
🆕 Kubernetes 1.20.2 is now available. If you would like to upgrade, specify: --kubernetes-version=v1.20.2
✨ Using the hyperkit driver based on existing profile
💿 Downloading VM boot image ...
> minikube-v1.17.0.iso.sha256: 65 B / 65 B [-------------] 100.00% ? p/s 0s
> minikube-v1.17.0.iso: 212.69 MiB / 212.69 MiB [] 100.00% 41.53 MiB p/s 5s
👍 Starting control plane node minikube in cluster minikube
💾 Downloading Kubernetes v1.19.2 preload ...
> preloaded-images-k8s-v8-v1....: 487.14 MiB / 487.14 MiB 100.00% 55.65 Mi
🔄 Restarting existing hyperkit VM for "minikube" ...
🤦 StartHost failed, but will try again: driver start: getting MAC address from UUID: vmnet: error from vmnet.framework: -1
🔄 Restarting existing hyperkit VM for "minikube" ...
😿 Failed to start hyperkit VM. Running "minikube delete" may fix it: driver start: getting MAC address from UUID: vmnet: error from vmnet.framework: -1
❌ Exiting due to PR_HYPERKIT_VMNET_FRAMEWORK: Failed to start host: driver start: getting MAC address from UUID: vmnet: error from vmnet.framework: -1
💡 Suggestion: Hyperkit networking is broken. Upgrade to the latest hyperkit version and/or Docker for Desktop. Alternatively, you may choose an alternate --driver
🍿 Related issues:
▪ https://github.com/kubernetes/minikube/issues/6028
▪ https://github.com/kubernetes/minikube/issues/5594
|
Same in 2021 on BigSur 😞
|
@hariprasadiit: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Did anyone found a solution to this issue? |
@cglacet Are you sharing Internet in System Preferences? Just ran into this issue locally on Big Sur 11.6, but the solution ended up being to disable Internet Sharing:
Logs looked like this
After disabling Internet Sharing (was in a predicament where I needed to share ethernet to another set of devices), re-running
|
I'll reopen this and leave it open for discoverability. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Ran into the same problem and turning off Internet Sharing on macOS Monterrey resolved the issue. |
This fixed it for me. I had the same issue |
@gabizou Yes I think that was the issue, I'll have to double check next time it happens :) A colleague just got into the same issue, turning internet sharing off solved the issue for her. |
I am unable to start minikube with hyperkit on mac OS Catalina. I was able to run minikube before upgrading to Catalina.
The exact command to reproduce the issue:
minikube stop && minikube delete && minikube start --vm-driver=hyperkit
The full output of the command that failed:
✋ Stopping "minikube" in virtualbox ...
🛑 "minikube" stopped.
🔥 Deleting "minikube" in virtualbox ...
💔 The "minikube" cluster has been deleted.
😄 minikube v1.4.0 on Darwin 10.15
🔥 Creating hyperkit VM (CPUs=4, Memory=8192MB, Disk=20000MB) ...
🔄 Retriable failure: create: Error creating machine: Error in driver during machine creation: getting MAC address from UUID: vmnet: error from vmnet.framework: -1
🔥 Deleting "minikube" in hyperkit ...
E1010 22:01:41.581336 38132 main.go:100] libmachine: (minikube) Error reading pid file: open /Users/ashkanaleali/.minikube/machines/minikube/hyperkit.json: no such file or directory
🔥 Creating hyperkit VM (CPUs=4, Memory=8192MB, Disk=20000MB) ...
🔄 Retriable failure: create: Error creating machine: Error in driver during machine creation: getting MAC address from UUID: vmnet: error from vmnet.framework: -1
🔥 Deleting "minikube" in hyperkit ...
E1010 22:01:49.012099 38132 main.go:100] libmachine: (minikube) Error reading pid file: open /Users/ashkanaleali/.minikube/machines/minikube/hyperkit.json: no such file or directory
🔥 Creating hyperkit VM (CPUs=4, Memory=8192MB, Disk=20000MB) ...
🔄 Retriable failure: create: Error creating machine: Error in driver during machine creation: getting MAC address from UUID: vmnet: error from vmnet.framework: -1
🔥 Deleting "minikube" in hyperkit ...
E1010 22:01:58.676325 38132 main.go:100] libmachine: (minikube) Error reading pid file: open /Users/ashkanaleali/.minikube/machines/minikube/hyperkit.json: no such file or directory
🔥 Creating hyperkit VM (CPUs=4, Memory=8192MB, Disk=20000MB) ...
🔄 Retriable failure: create: Error creating machine: Error in driver during machine creation: getting MAC address from UUID: vmnet: error from vmnet.framework: -1
🔥 Deleting "minikube" in hyperkit ...
E1010 22:02:14.547227 38132 main.go:100] libmachine: (minikube) Error reading pid file: open /Users/ashkanaleali/.minikube/machines/minikube/hyperkit.json: no such file or directory
💣 Unable to start VM: create: Error creating machine: Error in driver during machine creation: getting MAC address from UUID: vmnet: error from vmnet.framework: -1
😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new/choose
The output of the
minikube logs
command:💣 api load: filestore "minikube": Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new/choose
The operating system version: mac OS 10.15
The text was updated successfully, but these errors were encountered: