Closed asevans closed 1 month ago
Hi @asevans, what about if you use a different --name
? Or skip it altogether?
We've seen this issue a couple times, but couldn't get what's going on. I'm starting to think it's reusing the name that's ultimately causing this.
@Saviq neither using a unique --name
nor omitting it makes any difference. Same error.
I forgot to note in the original report, this problem also applies to restarting previously created instances. If I have an instance stopped and plug in my USB-C hub, they can't start anymore.
Unfortunately, I don't have any other USB-C hub to test with.
Thanks @asevans… this is a bit crazy. Your hub has Ethernet in it, which somehow must make macOS / hyperkit confused about the networking setup. Have you tried rebooting with the dock plugged in? Or restarting Multipass when it is plugged in?
$ sudo launchctl unload /Library/LaunchDaemons/com.canonical.multipassd.plist
$ sudo launchctl load /Library/LaunchDaemons/com.canonical.multipassd.plist
@Saviq I tried restarting with the hub plugged in and also restarting multipassd: no luck.
Same problem here but no USB-C hub involved. I've uninstalled TunnelBlick just in case but I still have the same issue. As a workaround I've installed VirtualBox but I'm not getting an IPv4.
$ multipass list
Name State IPv4 Image
moving-lab Running N/A Ubuntu 20.04 LTS
Fixed by disabling the "Internet Sharing" option.
Disabling "Internet Sharing" for my "USB 10/100/1000 LAN" fixed the problem. I'm not sure why that was turned on, because it wasn't intentional.
If this is a hyperkit issue, it might be worth at least documenting this issue.
@asevans we obviously will!
Thanks @fesplugas for this hint!
I've just observed the same here on macOS 10.15.4 - disabling internet sharing allows Multipass to start instances.
This is infuriating. Keeping me from using multipass on my server. Is there any inkling of a workaround?
@AdamTheLang did you see the comments above? Disabling Internet Sharing in the Sharing settings should make it go away.
@Saviq I did in fact see it. It's not an option for me, as I use that server as a gateway machine for its own subnet. Unless you can suggest some other way of configuring a Mac as a router/DHCP server that does not cause this issue?
@AdamTheLang the only option would be using VirtualBox, then.
This option enabled prevents the use of the default hyperkit backend.
Fixed by disabling the "Internet Sharing" option.
I LOVE YOU MAN you save my whole month
Internet sharing is already mentioned as one of the possible causes / factors interfering with networking, so I'm marking this as closed.
Describe the bug I'm unable to start any multipass instances
To Reproduce How, and what happened?
multipass launch --name foo --mem 4G --disk 40G
Expected behavior Instance should start
Logs From /Library/Logs/Multipass/multipassd.log:
Additional info
Additional context Removing the USB C hub allows multipass to successfully launch containers again