-
Notifications
You must be signed in to change notification settings - Fork 786
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
Fails on macOS Catalina #1368
Comments
Hey @jcayzac, sorry you're experiencing this issue. It's likely one of these https://multipass.run/docs/troubleshooting-networking-on-macos Can you try to do:
to see if you still get the ping error? Thanks, |
Microk8s multipass works on Catalina. However, instead of |
@joedborg the uninstall command thanked me for using microk8s and the subsequent install command failed again with the same error. |
Hey @vinhdiesal, can you let me know where you're seeing
@jcayzac Thanks for trying. The quick option would be to use Virtualbox. If you already have it installed, you can run |
Hi @joedborg On the MAC OSx version of the microk8s, it doesn't take any commands with a period, for example In the mean time, I find the best solution for using microk8s on a MAC is using Parallels with Ubuntu 20.04. My mac is performing really well as the |
Hi @vinhdiesal We're aware that, if you're used to using the period separator for commands, using the space separator can be confusing. However, we do believe all of our documentation is up-to-date; showing the space separator. If you spot any that isn't, please let us know. |
I had the same problem ( |
I had the same problem with multipass. Virtualbox did the trick for me for a quick fix. Installed from here. Then ran |
I still have this problem on MacOS Big Sur when Note: Further debugging has revealed that the culprit is the usual Cisco Anyconnect installing a DNS proxy system extension in Big Sur |
Seems to be caused by dnsmasq. Patched it with this change to /usr/local/Cellar/microk8s/2.1.0/libexec/lib/python3.9/site-packages/vm_providers/_base_provider.py
|
This fix no longer works, as the ping itself may fail on some MacOS situations. Instead, it's better to test connectivity in a different way, for example:
|
Created pull request #2823 |
FWIW - Root cause of this issue seems to be the Ubuntu image for microk8s doesn't actually have the microk8s snap installed. It's kind of weak nobody from Canonical figured this out for 2 years. |
Hi @tdsanchez The microk8s snap installation inside the VM is (supposed to be) performed by the installer itself, and it looks like this is failing under some conditions. |
The installer downloads an image that should have microk8s installed but instead it's just a regular Multipass VM with snap and nothing else installed. |
I am on MacOS Monterey 12.6 - and can't get microk8s up and running -- having similar but slightly different issues from what I can see above .. Here is a set of error messages I am seeing -- --- snapcraft.io ping statistics --- …/play/microk8s multipass exec microk8s-vm -- sudo ping -c 1 1.1.1.1 1 ↵ 10080 11:30:25 --- 1.1.1.1 ping statistics --- I am not sure it's DNS resolution since snapcraft.io resolves to 198.18.2.5 but that just sits there .. which appears to resolve to localhost (?) via this netstat .. which means something is supposed to be running on this address?? I am pretty much a total newbie on microk8s and snap and multipass .. This was a pure vanilla install via brew install ubuntu/microk8s/microk8s Any help and direction would be greatly appreciated .. TIA! |
This is partly true and partly false. A stock ubuntu VM is launched, and the installer then sets up MicroK8s by installing the snap
@sjmcdowall it appears that for some reason the installation failed. could you clean up and retry with: # remove old vm
multipass delete microk8s-vm
multipass purge
# reinstall
microk8s install Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
None of the commands provided for setting micro8s up or for reporting issues work on Catalina:
The text was updated successfully, but these errors were encountered: