-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Podman machine in "currently starting" state even after reboot of laptop #16945
Comments
Note that, after editing the JSON file and changing "Starting": true to false, we see this output:
Moreover, the VM can now be started with podman info
Not sure if there is a "fix" to permanently prevent the system from getting stuck in this state, especially without concrete steps to replicate it, but I do think it would be good to add this to the troubleshooting guide. Hope this helps! |
Thanks for providing the details, @jamesmortensen ! @ashley-cui PTAL |
A friendly reminder that this issue had no activity for 30 days. |
@ashley-cui Any ideas? |
I'd assume this is a really niche race condition somewhere? If podman was suddenly interrupted while it was starting a machine? |
Thanks @jamesmortensen , I stumbled into this and your solution helped. In my case this occurred due to an unclean shutdown where my mac encountered a kernel panic, I was doing dev related work with vscode dev container so it would have been interacting with podman at the time. It was in this state after booting back up.
Edit: turns out the shutdown borked my podman machine and can no longer connect to it. Creating a new machine works, but PITA losing my container volumes.
|
A friendly reminder that this issue had no activity for 30 days. |
Could we just make sure that Not sure what kind of side effects would occur from that. I do think that if podman knows the pid of the underlying QEMU process, the script could check to see if that process is running already when we run |
I had the exact same issue on a Mac M1. podman version 4.5.0 . Apparently podman crashes each time I start the machine. According to this ticket #14652 we need to upgrade macOS to 12.4. I'm currently on 12.0. Currently available version is 13.3.1 |
BIG REPORT
/kind bug
Description
Podman machine got stuck in the "currently starting" state:
Even after rebooting the computer, it is still in this state. Further investigation shows that the JSON config file has the "Starting" property set to true:
~/.config/containers/podman/machine/qemu/podman/podman-machine-default.json
Steps to reproduce the issue:
Describe the results you received:
If the machine is not running, it shouldn't say "Currently starting" if it isn't actually starting.
Describe the results you expected:
If the system does end up in this state, it should be easier to get it out of this state without needing to dig into the profile directory. (Or alternatively, perhaps we can add this to the troubleshooting guide! :) )
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info
:NOTE: The machine is not running, so maybe that's why info shows this message.
Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Troubleshooting guide didn't seem to have any information about what to do of podman remote is stuck in the "starting" state.
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: