Shutdown timeout produces TASK ERROR: VM quit/powerdown failed - got timeout

francoisd

Renowned Member
Sep 10, 2009
49
2
73
On a Windows 2003 SBS VM, that is quite long to shutdown ( about 200s ), the VM correctly shuts down but I have this error after 30s :

TASK ERROR: VM quit/powerdown failed - got timeout

The problem is not in the VM, as it shutdowns correctly, but only a reporting timeout problem.

I tried to change the shutdown timeout from the web interface with different values such as 600, 1200 & 3000, but it did not help. The Error message comes always after 30s regardless of the Shutdown timeout configured.

I also tried to use the qm shutdown from the command line, explicitely specifying timeout :
root@proxmox1:/etc/pve/nodes/proxmox1/qemu-server# qm shutdown 100 -timeout 300
With the command line, I do not have the problem. The shutdown ends with a "TASK OK" after 190s when the machine is effectively shut down.

If I do not specify the timeout, it takes a default timeout of 30s instead of the one from the config file :
Code:
root@proxmox1:~# qm shutdown 100
VM quit/powerdown failed - got timeout
root@proxmox1:~# grep startup /etc/pve/nodes/proxmox1/qemu-server/100.conf
startup: down=1200
root@proxmox1:~#

Is this a bug ? What is the shutdown timeout used for then ?

How can I increase the default shutdown timeout ?

Thanks,

Additional detail :
Code:
root@proxmox1:~# cat /etc/pve/nodes/proxmox1/qemu-server/100.conf 
#Premium
#Virtual copy from Physical Premium.
boot: dc
bootdisk: virtio0
cores: 2
cpuunits: 1000
ide2: none,media=cdrom
keyboard: fr-ch
memory: 1536
name: Premium-P2V
net0: virtio=DA:1A:97:63:C3:E9,bridge=vmbr0
onboot: 1
ostype: wxp
sockets: 1
startup: down=1200
virtio0: drbdvg1:vm-100-disk-1
root@proxmox1:~#
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!