Hi Everyone,
We have a two-node Proxmox VE (5.3-1) setup with GlusterFS volumes as shared storage. We encountered problem to live-migrate test VM from one node to another. If we live-migrate using the GUI or command ' ha-manager migrate vm:103 mynode-2', it takes about 15 minutes and eventually fails with the error message below. The interesting thing is that if we do it with command 'qm migrate 103 mynode-2 --online', it migrate it live without any problem. So what is the difference behind these two method, and how can we make it work with the GUI or ha-manager?
Thank you.
Liang
The error message from the GUI and ha-manager live-migration:
2019-01-24 10:17:03 starting migration of VM 103 to node 'mynode-1' (10.10.202.126)
2019-01-24 10:17:03 copying disk images
2019-01-24 10:17:03 starting VM 103 on remote node 'fw2mdap'
2019-01-24 10:32:51 start failed: command '/usr/bin/kvm -id 103 -name v-dsmda-2 -chardev 'socket,id=qmp,path=/var/run/qemu-server/103.qmp,server,nowait' -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/103.pid -daemonize -smbios 'type=1,uuid=26a79210-ab10-4b2d-bda7-1efe1c449189' -smp '1,sockets=1,cores=1,maxcpus=1' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vnc unix:/var/run/qemu-server/103.vnc,x509,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 512 -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 'vmgenid,guid=f555fa7b-f0e0-4c42-9216-af21c5d82c49' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'VGA,id=vga,bus=pci.0,addr=0x2' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:993ff3b6f475' -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://10.10.13.126/gv1/images/102/vm-102-disk-0.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=tap103i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=E2:09:BF3:15:C9,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc-i440fx-2.12' -incoming unix:/run/qemu-server/103.migrate -S' failed: exit code 1
2019-01-24 10:32:51 ERROR: online migrate failure - command '/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=mynode-2' root@10.10.202.126 qm start 103 --skiplock --migratedfrom mynode-2 --migration_type secure --stateuri unix --machine pc-i440fx-2.12' failed: exit code 255
2019-01-24 10:32:51 aborting phase 2 - cleanup resources
2019-01-24 10:32:51 migrate_cancel
2019-01-24 10:32:53 ERROR: migration finished with problems (duration 00:15:50)
TASK ERROR: migration problems
We have a two-node Proxmox VE (5.3-1) setup with GlusterFS volumes as shared storage. We encountered problem to live-migrate test VM from one node to another. If we live-migrate using the GUI or command ' ha-manager migrate vm:103 mynode-2', it takes about 15 minutes and eventually fails with the error message below. The interesting thing is that if we do it with command 'qm migrate 103 mynode-2 --online', it migrate it live without any problem. So what is the difference behind these two method, and how can we make it work with the GUI or ha-manager?
Thank you.
Liang
The error message from the GUI and ha-manager live-migration:
2019-01-24 10:17:03 starting migration of VM 103 to node 'mynode-1' (10.10.202.126)
2019-01-24 10:17:03 copying disk images
2019-01-24 10:17:03 starting VM 103 on remote node 'fw2mdap'
2019-01-24 10:32:51 start failed: command '/usr/bin/kvm -id 103 -name v-dsmda-2 -chardev 'socket,id=qmp,path=/var/run/qemu-server/103.qmp,server,nowait' -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/103.pid -daemonize -smbios 'type=1,uuid=26a79210-ab10-4b2d-bda7-1efe1c449189' -smp '1,sockets=1,cores=1,maxcpus=1' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vnc unix:/var/run/qemu-server/103.vnc,x509,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 512 -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 'vmgenid,guid=f555fa7b-f0e0-4c42-9216-af21c5d82c49' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'VGA,id=vga,bus=pci.0,addr=0x2' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:993ff3b6f475' -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://10.10.13.126/gv1/images/102/vm-102-disk-0.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=tap103i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=E2:09:BF3:15:C9,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc-i440fx-2.12' -incoming unix:/run/qemu-server/103.migrate -S' failed: exit code 1
2019-01-24 10:32:51 ERROR: online migrate failure - command '/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=mynode-2' root@10.10.202.126 qm start 103 --skiplock --migratedfrom mynode-2 --migration_type secure --stateuri unix --machine pc-i440fx-2.12' failed: exit code 255
2019-01-24 10:32:51 aborting phase 2 - cleanup resources
2019-01-24 10:32:51 migrate_cancel
2019-01-24 10:32:53 ERROR: migration finished with problems (duration 00:15:50)
TASK ERROR: migration problems