Description
Issue Description
It seems that the podman machine will get stuck in STARTING
state permanently if the user interrupts the startup sequence one time. The entire system requires to be restarted or the podman machine needs to be deleted to recover from this. This issue was initially reported in PD repo podman-desktop/podman-desktop#9670.
podman_start_race_condition.mp4
Steps to reproduce the issue
Steps to reproduce the issue
- Create a new podman machine using
podman machine init
command - Start the podman machine created at point 1 using
podman machine start
command - Quickly after issuing the command from point 2 send
CTRL-C
command to the terminal (SIGINT) to terminate the operation. - Run
podman machine ls
and notice that the podman machine created at point 1 will be permanently stuck inSTARTING
state.
Describe the results you received
Podman machine is stuck permanently in STARTING
state.
Describe the results you expected
Presumably the state of the podman machine should be Stopped
or alternately Running
if the SIGINT is not sent fast enough to prevent the startup. Regardless of the state of the podman machine it should not be frozen execute commands correctly afterwards.
podman info output
If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting