TASK ERROR: migration problems on new VM created

bahtiar

New Member
Sep 26, 2018
2
0
1
31
Code:
Sep 27 13:25:02 starting migration of VM 50002 to node 'node' (192.168.0.185)
Sep 27 13:25:02 copying disk images
Sep 27 13:25:02 starting VM 50002 on remote node 'node'
Sep 27 13:25:03 start failed: command '/usr/bin/kvm -id 50002 -chardev 'socket,id=qmp,path=/var/run/qemu-server/50002.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/50002.pid -daemonize -smbios 'type=1,uuid=83bef211-f1f8-49dc-894c-835b8e22eea7' -name gluster-5002 -smp '2,sockets=2,cores=1,maxcpus=2' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga cirrus -vnc unix:/var/run/qemu-server/50002.vnc,x509,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 512 -k en-us -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:b8da6bc84d1a' -drive 'if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -device 'virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5' -drive 'file=gluster://192.168.0.183/gfs/images/50002/vm-50002-disk-1.qcow2,if=none,id=drive-scsi0,format=qcow2,cache=none,aio=native,detect-zeroes=on' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap50002i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=E6:F5:CB:E1:37:89,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc-i440fx-2.9' -incoming tcp:192.168.0.185:60000 -S' failed: exit code 1
Sep 27 13:25:03 ERROR: online migrate failure - command '/usr/bin/ssh -o 'BatchMode=yes' root@192.168.0.185 qm start 50002 --skiplock --migratedfrom master --migration_type insecure --stateuri tcp --machine pc-i440fx-2.9' failed: exit code 255
Sep 27 13:25:03 aborting phase 2 - cleanup resources
Sep 27 13:25:03 migrate_cancel
Sep 27 13:25:04 ERROR: migration finished with problems (duration 00:00:02)
TASK ERROR: migration problems

Just got this after doing online live migration on my new created VM (KVM). Unfortunately, i have followed https://forum.proxmox.com/threads/task-error-migration-problems.25520/ to add migration_unsecure: 1 in datacenter.cfg. The 1st and 2nd try is able to do online live migration for my new created VM. the next try is not able to do again. is that a bug? iam using proxmox 4.4.

i knew the trick is : doing first offline migration to another node, power on, then you'll be able to do online live migration.

In my case :
i have 3 nodes, configured for GlusterFS and i guess everything is clear.

Can you please help me to resolve this one?

Glad to have a quick reply
 
Last edited by a moderator:
iam using proxmox 4.4.

Proxmox VE 4.4 is end of life, and not supported anymore. Try to upgrade to latest 5.x.

That said, do all nodes of the cluster have the same packages versions?

Also what happens if you try to execute the command which fails from the problematic node? I.e., this one:

Code:
/usr/bin/kvm -id 50002 -chardev 'socket,id=qmp,path=/var/run/qemu-server/50002.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/50002.pid -daemonize -smbios 'type=1,uuid=83bef211-f1f8-49dc-894c-835b8e22eea7' -name gluster-5002 -smp '2,sockets=2,cores=1,maxcpus=2' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga cirrus -vnc unix:/var/run/qemu-server/50002.vnc,x509,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 512 -k en-us -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:b8da6bc84d1a' -drive 'if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -device 'virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5' -drive 'file=gluster://192.168.0.183/gfs/images/50002/vm-50002-disk-1.qcow2,if=none,id=drive-scsi0,format=qcow2,cache=none,aio=native,detect-zeroes=on' -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap50002i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=E6:F5:CB:E1:37:89,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc-i440fx-2.9' -incoming tcp:192.168.0.185:60000 -S
 

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!