In PVE 8.1.4, after creating VM, it cannot be started

For_Pugss

New Member
Mar 1, 2024
4
1
3
VM 100 qmp command 'set_password' failed - unable to connect to VM 100 qmp socket - timeout after 51 retries
TASK ERROR: Failed to run vncproxy.

TASK ERROR: start failed: command '/usr/bin/kvm -id 100 -name 'ikuai,debug-threads=on' -no-shutdown -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server=on,wait=off' -mon 'chardev=qmp,mode=control' -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' -mon 'chardev=qmp-event,mode=control' -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=aa141884-1ed2-4e78-a7eb-cae9ec68d3df' -smp '2,sockets=1,cores=2,maxcpus=2' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vnc 'unix:/var/run/qemu-server/100.vnc,password=on' -cpu host,+kvm_pv_eoi,+kvm_pv_unhalt -m 4096 -object 'iothread,id=iothread-virtioscsi0' -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'pci-bridge,id=pci.3,chassis_nr=3,bus=pci.0,addr=0x5' -device 'vmgenid,guid=35e19491-438c-48d9-873b-6b02e1f7129f' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'vfio-pci,host=0000:05:00.0,id=hostpci0,bus=pci.0,addr=0x10' -device 'vfio-pci,host=0000:06:00.0,id=hostpci1,bus=pci.0,addr=0x11' -device 'VGA,id=vga,bus=pci.0,addr=0x2' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3,free-page-reporting=on' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:90da6828da8f' -drive 'file=/var/lib/vz/template/iso/iKuai8_x64_3.7.10.iso,if=none,id=drive-ide2,media=cdrom,aio=io_uring' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=100' -device 'virtio-scsi-pci,id=virtioscsi0,bus=pci.3,addr=0x1,iothread=iothread-virtioscsi0' -drive 'file=/dev/pve/vm-100-disk-0,if=none,id=drive-scsi0,format=raw,cache=none,aio=io_uring,detect-zeroes=on' -device 'scsi-hd,bus=virtioscsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=101' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=BC:24:11:A0:BD:DD,netdev=net0,bus=pci.0,addr=0x12,id=net0,rx_queue_size=1024,tx_queue_size=256' -machine 'type=pc+pve0'' failed: got timeout
 
Last edited:
Essentially, what the error tells you is that KVM timed out on start. I see that you have PCI pass-through in the command line. Try it without the PCI devices. If VM starts, review the passthrough guides, post your configuration (qm config [id]), review journalctl and dmesg,
If you continue having trouble, post more comprehensive description of your setup.

Good luck


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
sentially, what the error tells you is that KVM timed out on start. I see that you have PCI pass-through in the command line. Try it without the PCI devices. If VM starts, review the passthrough guid
Thanks! I was able to start the VM after removing the PCI device.
 
Essentially, what the error tells you is that KVM timed out on start. I see that you have PCI pass-through in the command line. Try it without the PCI devices. If VM starts, review the passthrough guides, post your configuration (qm config [id]), review journalctl and dmesg,
If you continue having trouble, post more comprehensive description of your setup.

Good luck


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
After following various tutorials to enable hardware passthrough, I am unable to start the VM.

boot: order=scsi0;ide2;net0
cores: 4
cpu: host
hostpci0: 0000:05:00.0,pcie=1
ide2: local:iso/iKuai8_x64_3.7.10.iso,media=cdrom,size=52590K
machine: q35
memory: 4096
meta: creation-qemu=8.1.5,ctime=1709311689
name: ikuai
net0: virtio=BC:24:11:1A:F7:70,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-0,iothread=1,size=8G
scsihw: virtio-scsi-single
smbios1: uuid=fbf528a9-14b8-4b6d-a0ba-98cdd261b3cf
sockets: 1
vmgenid: e9ed4fd8-ea8b-4c5a-a4bd-430d9b7ba2ec
 

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!