Proxmox VE shutdown does not poweroff machine

fmnamado

Member
Jan 13, 2023
11
3
8
Hello,

There have been similar threads to this but I will start a new one as it seems this kind of problem might be very setup specific.

I have a Core i5-6600 16GB ram, 240GB SSD running Proxmox latest version (8.x .... with all updates).
I am managing the display using pikvm, which is helping me a LOTTTT.

I have little VMs running.
One of them, the most important one is Openmediavault, also latest version with all updates, with hard disk drives being passed directly (via qm link command in the shell, virtio option).
I am mentioning this because IT MIGHT be something related to this.

I mention it MIGHT only, because as I am passing through the disks, I prefer first to compeltely shutdown the vm with the physical hard disks assigned, to see if it doesn't hang.
And it never did. It shutsdown ok, I can check both via console saying not running, and the play button to launch it is enabled.
That is way the hdds being passed shouldn't be a problem as it is shutdown.

Now that I shutdown ALL my VMs and containers (there is no container actually), SOMETIMES PVE doesn't shutdown.
The screen goes completely black (in pikvm says no signal as the cable were physically disconnected) and it stays on.
Doing nothing, black screen, fans and leds ON.
I waited more than 10 minutes and nothing, all the same.

Sometimes it shuts down without a problem, using the same procedure.

From your experieince:
  • What might be the cause of the problem?
  • How and where can I investigate the issue? Some kind of logs?
I would like to put an end to this, despite thinking it might not lead to data loss as the vm is shutdown, I always prefer a clean shutdown.

Thank you!
 
Well some more info.
This machine is tri-bootable: proxmox, windows 11 and ubuntu.

If I shutdown from Ubuntu, the computer gets completely off.
From Windows 11 I haven't noticed yet.

Any suggestion?
 
I have the same issue.

I now discover that if I use the Shell command: shutdown -P the host server does shutdown properly. I was issuing the shutdown immediate command (0 wait) and this had an issue it seems. "shutdown -P" gives a one minute warning to the system I guess.
 
Last edited: