Open luilver opened 11 months ago
Hi @luilver, sorry for missing this.
On macOS, the microk8s installer will attempt to create an ubuntu VM using multipass. From the error message, it looks like multipass is having trouble working on your machine?
Can you see if Multipass works OK, using something like multipass ls
or multipass launch 20.04
?
Hi @neoaggelos, thank you for your kind support.
Definitively Multipass is not working. This is either multipass ls
and multipass launch 20.04
output:
list failed: cannot connect to the multipass socket
At this point I don't know how to proceed. Is multipass a different package I should try to reinstall otherwise how should I proceed?
Hi @luilver
Yes, multipass is a separate project (https://multipass.run) that is automatically installed by the microk8s installer to manage the ubuntu VM microk8s itself will be running on.
You might be able to find help by opening an issue on multipass GitHub repo: https://github.com/canonical/multipass/issues
Summary
Already installed following https://microk8s.io/ for macOS. When I ran
microk8s install
command it asked for multipass support and I selected yes, look hidden section for details.VM disk size requested exceeds free space on host.
Support for 'multipass' needs to be set up. Would you like to do that now? [y/N]: y
==> Downloading https://github.com/canonical/multipass/releases/download/v1.12.2/multipass-1.12.2+mac-Darwin.pkg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/114128199/f558434a-3d96-4210-8a69-a65d7917d83f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231202%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Da ######################################################################################################################################################################################################################################################### 100.0%
==> Installing Cask multipass
==> Running installer for multipass with sudo; the password may be necessary.
installer: Package name is multipass
installer: Installing at base path /
installer: The install was successful.
🍺 multipass was successfully installed!
Waiting for multipass...
warning: "--mem" long option will be deprecated in favour of "--memory" in a future release. Please update any scripts, etc.
launch failed: cannot connect to the multipass socket
Then it started to repeat last message
warning: "--mem" long option will be deprecated in favour of "--memory" in a future release. Please update any scripts, etc. launch failed: cannot connect to the multipass socket
What is worst, I tried to remove it by
microk8s uninstall
, thenbrew uninstall ubuntu/microk8s/microk8s
and then trying to install it again without succees. Every time it's still erroring:What Should Happen Instead?
Succeed.
Reproduction Steps
Introspection Report
$ microk8s inspect
Can you suggest a fix?
Yes
Are you interested in contributing with a fix?
I would like, will try to dig dive into brew and microk8s commands.
My system specs:
Thank you