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
Mac M1 machine cannot start the container. timed out waiting for response #3411
Comments
Hi @yangletec, does this happen only with one instance or with any instance? Does We'd need logs to investigate, but this is often a networking problem (the instance doesn't get an IP, which is necessary to complete the start transition). Could you please try to follow our troubleshooting docs and let us know if that it helps? |
Hi @yangletec, Do you have the firewall on? I couldn't find the logs (apart from the few messages you pasted). Did you perhaps forget to attach them? |
I've the similar issue. I've uninstalled multipass and installed it from scratch. The same behavior if the firewall is turned on or turned off.
|
Hi @pixerl0n, have you gone through the troubleshooting I linked above? These symptoms can have different causes, so your issues may well differ, but logs would be helpful to diagnose, preferably with trace verbosity. You can configure the daemon to log with trace verbosity like this:
|
Thank you. |
OK, so yours was the firewall issue @pixerl0n. Glad you got it working. |
[2024-02-26T09:28:58.579] [debug] [qemu-system-aarch64] [97600] started: qemu-system-aarch64 --version |
@yangletec did you get those with |
I have tried to disable the firewall, but the issue persists. Below is the log printed by the command
|
Hello, I'm facing a similar issue (my intention is not to hijack this thread, just to add to it). Last week an instance just stopped responding. (I'm running a web container and a database on the instance and I couldn't reach it.) Hadn't done anything to the instance or the M2 Mac it's running on. Stopping the instance, Launched a new instance and that one can be stopped and restarted, in bridged mode (the non-working instance is in bridged mode), no probs. Looking at the output in the log, for the new instance that is working:
And for the failing instance:
So, looks to me like it's not reaching the part where it should say Usually I wouldn't be concerned, but there's data in the DB that I haven't made a backup of in a couple of weeks that I would really want to salvage. If I change the log level to
|
Hi @u1925, sorry you're missing that data. The absence of that Could you please try the following command to run the instance manually, after making sure that it is not being run by Multipass (i.e. no analogous You should see a window popping up. What does it say? And if you select VGA/serial/parallel in menu->view? |
@ricab Thanks for such a quick reply. When doing a I ran the command you suggested, wasn't able to catch all output, it just went by quickly. But took a screenshot after it stopped printing to the console. Other screenshot is from View -> parallel0, I only had that and serial0 to select from. |
Hi @u1925, I think that indicates that QEMU can't mount the filesystem, as that's the next thing that happens in a normally functioning instance. Here's a very similar case. To be sure, can you confirm that the QEMU screen remains in that state after 2 or 3 minutes? Sometimes a service takes a long time to start and that blocks the boot procedure until systemd decides to time out that service and move on. The last option would be to try to mount the image to recover data. Here are some instructions that you can try. |
Also, I don't suppose you took a snapshot of the instance while it was working? |
Hi @ricab Yes, the QEMU screen remains in that state for hours on, nothing more happens. I didn't take any snapshots unfortunately. I suppose I will try mounting it in a new instance next, and if that doesn't help me in the end, I'll begin trying to recreate the lost data somehow. Thanks for your help so far! |
OK, thanks for letting me know @u1925. Sorry again for your situation, I hope you can recover somehow. |
Did you disable the firewall and reboot? I have seen cases where just disabling the firewall and trying to start an instance does not work until a reboot. |
Same started happening for me as well, possibly after an update of multipass (1.13.1 now). Was able to
|
After toggling the firewall back to on I could no longer launch new instances either, once more I got it working after Not sure what happened to the old instances tho, deleted those. update |
Seems that for me it was a combination of issues. Mac firewall was one, but also the mac host ip changed from 192.168.64.1 to 192.168.65.1 which broke some firewall rules on the instances themselves, thus couldn't access them but still launch new ones. |
Describe the bug
After installing Multipass on Mac M1, when launching a container with 'multipass launch,' the console remains in the 'Starting' state. After a while, a 'timed out waiting for response' error occurs. The issue is persistent.
To Reproduce
How, and what happened?
multipass launch lts
Expected behavior
Logs
Additional info
multipass 1.13.1+mac、multipassd 1.13.1+mac
multipass info --all
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: