Closed jingyuwa closed 2 months ago
Did you try running podman machine stop
first?
Did you try running
podman machine stop
first?
No
But after trying it gives same error as before.
Can you try running the stop command before the reboot and see if this works?
Also please copy and paste your terminal output and not use screenshots for the terminal.
Can you try running the stop command before the reboot and see if this works?
Also please copy and paste your terminal output and not use screenshots for the terminal.
podman machine rm
The following files will be deleted:
C:\Users\wajin\.config\containers\podman\machine\hyperv\podman-machine-default.json
C:\Users\wajin\AppData\Local\Temp\podman\podman-machine-default.sock
C:\Users\wajin\AppData\Local\Temp\podman\podman-machine-default-gvproxy.sock
C:\Users\wajin\AppData\Local\Temp\podman\podman-machine-default-api.sock
C:\Users\wajin\AppData\Local\Temp\podman\podman-machine-default.log
Are you sure you want to continue? [y/N] y
Error: failed to remove machines files: unable to find connection named "podman-machine-default"
Now I'm not even able to remove my previous machine. Should I manually delete those files and start again from podman machine init
?
I think it might already deleted the other files even when it report this error. Looks like we got in a bad state somehow.
Does podman machine ls
still show it after the rm command?
I think it might already deleted the other files even when it report this error. Looks like we got in a bad state somehow. Does
podman machine ls
still show it after the rm command?
The machine was gone and I've gone through the podman machine init
process again.
I've tried to execute podman machine stop
command before rebooting the machine, and tried directly reboot the machine, and also tried cut off the power and re-start the machine. None of those can reproduce this issue. The current VM can always be brought up by podman after reboot now.
so its safe to say we got into some unknown state and we can no longer replicate this? if so, is it worth closing this until it happens again ?
so its safe to say we got into some unknown state and we can no longer replicate this? if so, is it worth closing this until it happens again ?
Not able to reproduce. Closing this issue now. Thanks!
Issue Description
I have successfully run
podman machine init
using Hyper-V and my VM provider and have successfully deployed and run a container yesterday. But after reboot, I was not able to start the podman machine anymore. podman_start_debug_log.txt gvproxy.logSteps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Please see attachment in issue description. I was not able to get podman started
Describe the results you expected
Podman machine can be successfully started, and previous containers can be started again.
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
No
Additional environment details
NA
Additional information
This issue happened once and was resolved by executing
bcdedit /set hypervisorlaunchtype auto
. It happened again and I also tried to execute the commandbcdedit /set hypervisorlaunchtype auto
but it does not help this time.