-
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
Unable to "microk8s install" on macos #1287
Comments
Looks like a temporary (?) network issue. Is snapcraft.io reachable from your system? You may also want to look at common issues at [1]. [1] https://multipass.run/docs/troubleshooting-networking-on-macos |
@ktsakalozos, it's still happening (just tried again). I've tried with/without VPN and the issue persists. I looked at the multipass troubleshooting guide you linked to, and don't see anything obvious pop out from there as an issue. One thing I will note though--the guide mentions "Multipass uses “hyperkit” to run instances", and I'm wondering if this is the problem. I today installed minikube, and when I created a VM using So, perhaps this is some |
I'm also having issues running microk8s install but the error that I get is different:
|
@kodeninja Thanks for letting us know. I'm wondering if minikube has set some weird network settings or, as you say, if Hyperkit is bugged. If you ever manage to fix it with |
@bmbferreira Moved your issue to #1313 |
Same issue does not work on macOS Catalina (10.15.5 Beta (19F94a)). |
FYI - I have the same issue, but I can actually connect to network services, other than ping:
System information as of Mon Jun 29 12:40:05 PDT 2020 System load: 0.0 Processes: 99 0 packages can be updated. Last login: Mon Jun 29 12:33:46 2020 from 192.168.64.1 Non-authoritative answer: ubuntu@microk8s-vm:~$ ping www.google.com So i think it's just an issue with ICMP... However something doesn't appear to be working as none of the "microk8s" commands work: So is something not complete do to this failure: |
any solution? |
Same problem, rca was the existing vpn that did dns forwarding and locked me in the vpn dns. upon disabling it, microk8s install all downloading fine here. |
Cisco VPN is usually the culprit in this situation |
Beside testing microk8s, I have replicated the same issue with kind k8s on Mac. It looks like from within the container or a multipass VM in this case it is not possible to ping. DNS resolution works however. https://docs.docker.com/docker-for-mac/networking/#known-limitations-use-cases-and-workarounds |
I forcefully updated lib/python3.9/site-packages/vm_providers/_base_provider.py: self.run("ping -c 1 snapcraft.io".split(), hide_output=True) within the cellar to ping -c 127.0.0.1 to get by this error. I'm trying to figure out a good way to bypass this check if stealth mode is enabled.
|
This fixed it for me: #1368 (comment) |
@dardosordi this worked for me as well. |
This no longer works flawlessly. An additional fix is needed, because the ping doesn't always work on MacOS. I will add an update in issue 1368. |
Worked for me, thanks! |
Following https://ubuntu.com/tutorials/install-microk8s-on-mac-os#3-install-microk8s for installation.
I currently cannot get past the
microk8s install
stage.I can't run
inspect
, or any other sub-command either.Hardware:
MacBook Pro (Retina, 15-inch, Mid 2015)
OS:
macOS Mojave v10.14.5
The text was updated successfully, but these errors were encountered: