Live Migration Fails

Calanon

New Member
Feb 4, 2019
14
1
1
52
Hi,
I added a new host to my cluster which went fine and no errors. The OS is debian 9 stable.

Code:
roxmox-ve: 5.3-1 (running kernel: 4.15.18-9-pve)
pve-manager: 5.3-5 (running version: 5.3-5/97ae681d)
pve-kernel-4.15: 5.2-12
pve-kernel-4.15.18-9-pve: 4.15.18-30
corosync: 2.4.4-pve1
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.1-3
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-43
libpve-guest-common-perl: 2.0-18
libpve-http-server-perl: 2.0-11
libpve-storage-perl: 5.0-33
libqb0: 1.0.3-1~bpo9
lvm2: 2.02.168-pve6
lxc-pve: 3.0.2+pve1-5
lxcfs: 3.0.2-2
novnc-pve: 1.0.0-2
proxmox-widget-toolkit: 1.0-22
pve-cluster: 5.0-31
pve-container: 2.0-31
pve-docs: 5.3-1
pve-edk2-firmware: 1.20181023-1
pve-firewall: 3.0-16
pve-firmware: 2.0-6
pve-ha-manager: 2.0-5
pve-i18n: 1.0-9
pve-libspice-server1: 0.14.1-1
pve-qemu-kvm: 2.12.1-1
pve-xtermjs: 1.0-5
qemu-server: 5.0-43
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3

I try to live migrate a vm from another host and it keeps failing. Offline migration works without issue.

Are there any debug logs anywhere that can assist me?

This is the output of the migration:

Code:
2019-04-25 15:33:50 starting migration of VM 203132 to node 'host2' (10.25.0.9)
2019-04-25 15:33:50 copying disk images
2019-04-25 15:33:50 starting VM 203132 on remote node 'host2'
2019-04-25 15:33:50 Warning: Permanently added 'host2' (ECDSA) to the list of known hosts.
2019-04-25 15:33:52 start failed: command '/usr/bin/kvm -id 203132 -name it.mydomain.com -chardev 'socket,id=qmp,path=/var/run/qemu-server/203132.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/203132.pid -daemonize -smbios 'type=1,uuid=395daf3d-5b9d-475c-bec0-363e12a1e4b3' -smp '4,sockets=1,cores=4,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vnc unix:/var/run/qemu-server/203132.vnc,x509,password -cpu 'Westmere,+kvm_pv_unhalt,+kvm_pv_eoi,enforce,vendor=GenuineIntel' -m 4096 -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 '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:46b1e3b521e1' -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' -drive 'file=rbd:c/vm-203132-disk-0:mon_host=10.23.0.4\:6789;10.23.0.5\:6789;10.23.0.6\:6789:auth_supported=cephx:id=admin:keyring=/etc/pve/priv/ceph/pool-c.keyring,if=none,id=drive-virtio0,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap203132i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=DA:67:B5:EF:73:94,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc-i440fx-2.12' -incoming unix:/run/qemu-server/203132.migrate -S' failed: exit code 1
2019-04-25 15:33:52 ERROR: online migrate failure - command '/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=host2' root@10.25.0.9 qm start 203132 --skiplock --migratedfrom host1 --migration_type secure --stateuri unix --machine pc-i440fx-2.12' failed: exit code 255
2019-04-25 15:33:52 aborting phase 2 - cleanup resources
2019-04-25 15:33:52 migrate_cancel
2019-04-25 15:33:54 ERROR: migration finished with problems (duration 00:00:04)
TASK ERROR: migration problems
 
on the target node should be a task log entry for the start -> check the log there if anything stands out
 

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!