-
Notifications
You must be signed in to change notification settings - Fork 604
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
Stuck on "ssh" or "user session is ready for ssh" #1288
Comments
@warrenseine From serial.log, i could see vm started successfully. So like you said something happening with network configuration only |
I also have the same problem with vz. After putting the laptop to sleep for a while, I sometimes get a connection error in the limactl shell. In that case, I was able to reproduce the same issue with the vz default config.
|
@thr3a If possible when this happens could you check ha.stderr.log and see if it has some helpful error (check before doing stop -f and error when trying limactl shell) |
I have created a feature request in vz (Code-Hex/vz#118). I tried with sleep and wake scenarios. For some reason, it works just fine for me. |
Yes, most of the time Thank you for the feature request to vz. Let's hope this will unlock a fix for the first case already! |
@thr3a / @warrenseine Note: The below steps is purely for debugging purpose only
Share the current serial.log |
Hello @balajiv113, this has just happened, and I'm stuck in a Waiting for the essential requirement 1 of 3: "ssh" loop after a And here are the ones after: It looks like it's still stuck after switching to |
Thanks for this logs. Looks like a case of disk corruption only. Mount of root filesystem is what didn't happen here. |
I've tested again with 0.15 and the issue is still present (can't SSH, still seeing I'll factory reset and update this issue if something changes. |
I am currently using colima, and it is very stable and reliable.
|
I've tested Colima for the past week and I still have the same problem of losing the VM, requiring a restart, but the good news is that I never have to factory reset the VM, so it must be doing something. |
@warrenseine @balajiv113 In conclusion, it seems that this problem is less likely to be affected by disk corruption when booting from an iso image. Colima seems to be using the alpine image, but this one is based on an iso image: With iso images, directories like |
Description
I'm basically experiencing what is described in #18 but I prefer to open a new issue because it's been a long time. Plus it's happening with
vz
which is still considered experimental.I'm using Lima as a replacement for Docker Desktop on macOS 13.1. Here's the configuration I use.
Everything works fine for a while but after some time I get stuck connecting to the VM, possibly after the laptop goes to sleep, waiting for requirement 1 or 2. It is worth mentioning that a
factory-reset
solves the issue. It was also reproduced by coworkers so unlikely to be specific to my computer. I have a feeling it might be related to our VPN configuration messing with the network configuration Lima is setting up, but that's hard to say.I'm attaching logs:
Sorry for the lack of details on my side. I'll try to collect any correlation I can make as we go.
The text was updated successfully, but these errors were encountered: