Migration problems after rejoining cluster

TechLineX

Active Member
Mar 2, 2015
213
5
38
Hello,

I readded a clusternode to the cluster.



When migrating, I get the following error:

Code:
Task viewer: VM 172 - Migrate

OutputStatus

Stop
Dec 30 13:58:16 starting migration of VM 172 to node 'host2' (172.63.0.63)
Dec 30 13:58:16 copying disk images
Dec 30 13:58:16 starting VM 172 on remote node 'host2'
Dec 30 13:58:17 start failed: command '/usr/bin/kvm -id 172 -chardev 'socket,id=qmp,path=/var/run/qemu-server/172.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/172.pid -daemonize -smbios 'type=1,uuid=194aaec7-81c1-4ba1-b0c6-865175301266' -name server48245 -smp '1,sockets=1,cores=1,maxcpus=1' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga cirrus -vnc unix:/var/run/qemu-server/172.vnc,x509,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 512 -k de -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:b591127be09f' -drive 'if=none,id=drive-ide0,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=200' -drive 'file=/mnt/pve/nfs11/images/172/vm-172-disk-1.qcow2,if=none,id=drive-ide1,media=disk,cache=none,format=qcow2,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ide.0,unit=1,drive=drive-ide1,id=ide1,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap172i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=00:35:12:0A:27:d5,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc-i440fx-2.9' -incoming unix:/run/qemu-server/172.migrate -S' failed: exit code 1
Dec 30 13:58:17 ERROR: online migrate failure - command '/usr/bin/ssh -o 'BatchMode=yes' root@172.63.0.63 qm start 172 --skiplock --migratedfrom host23 --migration_type secure --stateuri unix --machine pc-i440fx-2.9' failed: exit code 255
Dec 30 13:58:17 aborting phase 2 - cleanup resources
Dec 30 13:58:17 migrate_cancel
Dec 30 13:58:18 ERROR: migration finished with problems (duration 00:00:02)
TASK ERROR: migration problems

SSH to the other hosts works via shell.
 
Seems VM 172 is already transferred to host 172, but is unable to start there. Please can you try to
start the VM on host2 using the following command:

host2# qm start 172

Please post the output from above command.
 
Seems VM 172 is already transferred to host 172, but is unable to start there. Please can you try to
start the VM on host2 using the following command:

host2# qm start 172

Please post the output from above command.

root@host2:~# qm start 172
Configuration file 'nodes/host2/qemu-server/172.conf' does not exist
 
Task viewer: VM 108 - Migrate

OutputStatus

Stop
Dec 31 16:13:44 starting migration of VM 108 to node 'host2' (**)
Dec 31 16:13:44 copying disk images
Dec 31 16:13:44 starting VM 108 on remote node 'host2'
Dec 31 16:13:45 start failed: command '/usr/bin/kvm -id 108 -chardev 'socket,id=qmp,path=/var/run/qemu-server/108.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/108.pid -daemonize -smbios 'type=1,uuid=dbce4fc6-cc0e-4635-8898-92034f6b9c97' -name box6571 -smp '4,sockets=1,cores=4,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga cirrus -vnc unix:/var/run/qemu-server/108.vnc,x509,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 8192 -k de -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 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:b591127be09f' -drive 'if=none,id=drive-ide0,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=200' -drive 'file=/mnt/pve/hhnfs01/images/108/vm-108-disk-1.qcow2,if=none,id=drive-ide1,media=disk,cache=none,format=qcow2,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ide.0,unit=1,drive=drive-ide1,id=ide1,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap108i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=00:C4:48:F6:79:FD,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc-i440fx-2.9' -incoming unix:/run/qemu-server/108.migrate -S' failed: exit code 1
Dec 31 16:13:45 ERROR: online migrate failure - command '/usr/bin/ssh -o 'BatchMode=yes' root@** qm start 108 --skiplock --migratedfrom host23 --migration_type secure --stateuri unix --machine pc-i440fx-2.9' failed: exit code 255
Dec 31 16:13:45 aborting phase 2 - cleanup resources
Dec 31 16:13:45 migrate_cancel
Dec 31 16:13:46 ERROR: migration finished with problems (duration 00:00:02)
TASK ERROR: migration problems

Offline migration works, only online migration isnt working.
 
And the nfs storage is available on host2? Test with:

# ls -l /mnt/pve/hhnfs01/images/108/vm-108-disk-1.qcow2
 
kvm: -machine type=pc-i440fx-2.9: unsupported machine type

Got a new error.

sounds like you need to upgrade to current package versions.
 

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!