TASK ERROR: VM quit/powerdown failed - got timeout

Proxmox is a complete opensource server virtualization management solution. It offers the ability to manage virtual server (VPS) technology with the Linux OpenVZ and KVM technologies.

Today I error VM (Virtual Machine) on proxmox can not be restarted. The following error message I get
VM QUIT POWERDOWN FAILED PROXMOX

qm shutdown 100

VM quit/powerdown failed – got timeout

To fix this, you can try find a guest VM process ID (PID)

 

ps aux | grep "/usr/bin/kvm -id VMID"

 

kill the PID with the command

kill -9 PID

 

and then start again your VM

qm start VMID

 

verify your VM working

qm list

 

that’s it!

Or

Script

nano vm-lock.sh

add

#!/bin/sh
echo
echo '-----AUTHOR: https://galaxydata.ru-----'
echo
echo 'Existing lock files'
ls -l /run/lock/qemu-server
read -p 'Enter the VM ID here to delete corresponding lock e.g. 101: ' vmid
qm unlock $vmid
rm -f /run/lock/qemu-server/lock-$vmid.conf
qm unlock $vmid
sleep 5
qm start $1
echo
echo '---Remaining locks---'
ls -l /run/lock/qemu-server
chmod +x vm-lock.sh

run script

./vm-lock.sh
-----AUTHOR: https://galaxydata.ru-----

Existing lock files
total 0
-rw-r--r-- 1 root root 0 Dec 23 18:50 lock--1.conf
Enter the VM ID here to delete corresponding lock e.g. 101:

 

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.