-
Notifications
You must be signed in to change notification settings - Fork 657
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
Multipass can't get instances' IPs on macOS Sequoia #3661
Comments
The same issue |
Hi @naynayu, do you have your firewall turned on? Does the situation improve if you disable it? BTW, you appear to have attached GUI logs. We'd need the Multipass daemon's logs instead. |
Hi @ricab Thanks for your response. No. Firewall isn't turned on. I cant seem to find the multipass daemon logs even after logging in as root. I was able to filter the multipass logs from the Console. Will that do? |
Hi @naynayu, does Be sure to have a look at our troubleshooting doc. We are currently working to update it, but it has some important info as it is. |
@ricab So ls /Library/Logs/Multipass/multipassd.log does not produce anything. But when I did |
@ricab Hi, I have tried all the solutions on the troubleshooting doc, no luck. 😭 |
Hi @nayneenarh, I just had a look at the logs you sent and I see two cases of instances starting up and having their network interfaces up, but Multipass not being able to SSH in. Most likely, the instance isn't getting an IP or Multipass can't find the right one. We are trying to update our troubleshooting but in the meantime please have a look at this recipe. You should be in either case 2 or 3. Let us know how you fare with that. |
It was working in previous versions but stopped working on macOS Sequoia Beta (and on the official release today, too). Probably something related to the new OS version. |
Hey @nayneenarh, same issue 🥲 |
Hi all, it looks like we might have a problem in Sequoia, which we are investigating. Sorry for your troubles. |
FYI, we have found the issue. Now we need to find a solution. |
Oh great! Looking forward to the solution. If it's something we can also help with, please feel free to let us know. |
Now that the RC has been released; it appears that the VM is actually up; and IP address is assigned, just Multipass is not able to get that. For example shutdown causes logs like:
While new VMs starting have:
The VM is actually up and running as shown by
I'm able to create a new VM and login to it using root's key:
|
It appears that the format of
|
@vsarunas |
I'm having the same problem today after upgrading to macOS Sequoia last night. |
I'll add, me too (upgraded to Sequoia yesterday), but this information may help: If I launch an instance using a bridged network ( |
Confirmed this works for a new VM using the launch command, but how would do get this to work for an existing VM? Edit: Got it working by running |
Thanks. This is curious. Even though my bridged network attempt still results in the VM's IP popping up on my network, the VM itself never starts. Remains stuck on It looks like the team is zeroing in on a fix. I'll wait for bit. 😉 |
@johalun, see this comment for finding IPs of existing VMs. |
@freef4ll Thanks, but the problem was never finding the IP. I did that using |
It seems that multipass is missing system permissions to connect to local networks (I have a pop-up to allow permissions to connect to local network for many apps since upgrade to Sequoia, but not from multipass). I can connect to vm via ssh, I can ping it from terminal, but multipass itself can't access it. |
Hi @ralgozino, I don't think this is related to new changes. Would you mind opening a new issue and filling in the form with your info? Thanks. |
FWIW, after deleting with |
Hi, I have the same problem here the new test package worked for me after deleting the whole multipass with all previous instances but each instance only works normally for me the first time after creating the instance otherwise I'm not able to connect to it from terminal or GUI some time I'm getting started status but unable to connect to it some time I got unknown status ( i noticed that I'm able to connect to it via ssh) but I'm unable to access the web server via same IP used for ssh. |
Hi @rachadaccoumeh , Since this issue is closed, could you please open a new issue and fill out the issue template? This will help us get all the necessary information to troubleshoot effectively. Thank you! |
@ricab - The source code also dropped for 15.0 - apple-oss-distributions/bootp@9ccd9f1#diff-eacf6b6816280114b896232f1d1460a593e617ebe319a6fafceb3a3574552203R62-R64 ; from a quick look don't see what could have changed the file format. |
Interesting @vsarunas, thanks for the news! We've had one report last week of someone who was on 15 but did not see the change in In any case, reading from that file was sometimes unreliable (old IPs in the mix and such). So we'll try the ARP approach now and see how it fares for people. As an update: the release packages have been mostly ready for a few days now, but we are waiting for them to get signed internally. Unfortunately, there are ongoing issues with the hardware, so it is taking longer than usual. You can find (unsigned) RCs with a number of other bug fixes here. |
In case there are issues to install the RC1 and verification warnings:
Need to do:
|
The same issue 。Today after upgrading to macOS Sequoia 15.01 all instances in multipass cannot be started and cannot obtain an IP address. [2024-10-09T16:51:54.806] [debug] [corplink] QMP: {"QMP": {"version": {"qemu": {"micro": 1, "minor": 2, "major": 8}, "package": ""}, "capabilities": ["oob"]}} [2024-10-09T16:51:56.393] [info] [general] mac_address value is : 52:54:00:f7:63:df [2024-10-09T16:51:57.267] [warning] [corplink] qemu-system-aarch64: error while loading state for instance 0x0 of device 'cpu' [2024-10-09T16:51:57.267] [warning] [qemu-system-aarch64] |
I have two instances in Multipass. I installed the test package of Multipass a few days ago. After the installation, only one instance was working. Today, the previously working instance instance also crashed. In both instances, I have logs like these:
I already rebooted macOS a few times, I was also stopping instances with |
Hi I just wanted to add the test package worked on my newly updated and fresh 15.0. Regards Stuart |
1.14.1 RC1 works on M1 running on fresh MacOS 15.0.1 Obviously needed the xattr to be able to install: #3661 (comment) |
Hi @ricab, |
Hi @sekiskylink, that indicates you have some other problem with your instance. In order for us to help you, we'd need a new issue with the requested info, please. |
Hi all, just wanted to let everyone involved here know that we finally got the signed packages and released 1.14.1 officially. Apologies for the delay. |
@ricab
Are there specific steps I need to follow to install version 1.14.1? |
Hi @khalid3bdallah, not really, you should just be able to download the package from the link above and double click it. The version looks lower, but it is not, because yours is just a dev package (toward 1.15). The change to multipass.run is in progress too, so people will be able to get it from there too in the next few days. |
Has anyone the Test Package File multipass-1.15.0-dev.2929.pr661+gc67ef6641.mac-Darwin.pkg - the link provided here is dysfunctional - many thanks. |
I am not able to access test package and it gives access denied error. |
@puneetdawer, @SOFTWORK - I was able to successfully start and use Multipass in macOS sequoia using the latest release(1.14.1) which included a fix for this issue. https://github.com/canonical/multipass/releases/tag/v1.14.1 |
Unfortunately I am still seeing the issues even after upgrading to
It worked only after using these:
|
That is unrelated to this issue @alexcardo. Would you mind opening a new one, filling in the information in the form? Thank you. |
Describe the bug
I have been trying to create instances for a few weeks but it always times out. I even uninstalled and reinstalled, same issue. I have attached logs, hopefully, someone is able to make sense of it.
To Reproduce
How, and what happened?
multipass launch
Expected behavior
What did you expect to happen?
I expect that if launch a VM it should start and launch a VM both on the terminal and open a shell on the GUI
Logs
Please provide logs from the daemon, see accessing logs on where to find them on your platform.
The logs attached show what happens when I try to spin up an instance on both CLI and GUI at the same time
Multipass Logs 4_9.txt
Additional info
multipass version
multipass 1.14.0+mac
multipassd 1.14.0+mac
multipass info
Name: adapted-bunny
State: Unknown
Snapshots: 0
IPv4: --
Release: --
Image hash: f4b47dd0a608 (Ubuntu 20.04 LTS)
CPU(s): --
Load: --
Disk usage: --
Memory usage: --
Mounts: --
Name: sporting-salmon
State: Unknown
Snapshots: 0
IPv4: --
Release: --
Image hash: 5ecac6447be6 (Ubuntu 24.04 LTS)
CPU(s): --
Load: --
Disk usage: --
Memory usage: --
Mounts: --
Name: wired-vole
State: Unknown
Snapshots: 0
IPv4: --
Release: --
Image hash: 5ecac6447be6 (Ubuntu 24.04 LTS)
CPU(s): --
Load: --
Disk usage: --
Memory usage: --
Mounts: --
multipass get local.driver
qemu
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: