Hi,
I've recently updated my nodes to 5.2-5 and im now having issues when migrating some vm's between nodes.
For infor, each node has;
2 x Intel 1Gb onboard nics (enp1s0 & enp2s0) bonded together as bond0 using LACP, which is presented as vmbr0
1 x Chelsio dual 10Gb pci nic (enp4s0 & enp2s1) bonded together as bond1 using LACP, which is presented as vmbr2
I've narrowed down the issue to the following;
If i migrate a vm who's network inteface is left within the default/untagged vlan, the migration happens as expected, with the creation of the tap interface for the vm based off of the vmbr0 bond0 interface.
If i try to migrate a vm whos network interface is within a tagged vlan (613 in this instance), the migration fails with the following error;
Trying to run the above ssh command manually as well as checking the start task in the log shows;
Checking the dmesg output on the target machine shows that the vlan interface was added to the bond, however it gets renamed;
As a result when the vmbr0v613 gets created ready for the tap106i0 interface, the expected bond0.613 interface does not exist to become part of the bridge as it is now called rename12
I've tried adding net-ifnames=0 to grub, and also tried ln -s /dev/null /etc/systemd/network/99-default.link but this doesnt help either, anyone have any ideas?
I've recently updated my nodes to 5.2-5 and im now having issues when migrating some vm's between nodes.
For infor, each node has;
2 x Intel 1Gb onboard nics (enp1s0 & enp2s0) bonded together as bond0 using LACP, which is presented as vmbr0
1 x Chelsio dual 10Gb pci nic (enp4s0 & enp2s1) bonded together as bond1 using LACP, which is presented as vmbr2
I've narrowed down the issue to the following;
If i migrate a vm who's network inteface is left within the default/untagged vlan, the migration happens as expected, with the creation of the tap interface for the vm based off of the vmbr0 bond0 interface.
If i try to migrate a vm whos network interface is within a tagged vlan (613 in this instance), the migration fails with the following error;
start failed: command '/usr/bin/kvm -id 106 -name XXXXXX -chardev 'socket,id=qmp,path=/var/run/qemu-server/106.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/106.pid -daemonize -smbios 'type=1,uuid=82262012-05f9-4c31-8c68-d6a170a505fa' -smp '4,sockets=2,cores=2,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga std -vnc unix:/var/run/qemu-server/106.vnc,x509,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 1024 -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' -chardev 'socket,path=/var/run/qemu-server/106.qga,server,nowait,id=qga0' -device 'virtio-serial,id=qga0,bus=pci.0,addr=0x8' -device 'virtserialport,chardev=qga0,name=org.qemu.guest_agent.0' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:194d4d33b450' -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=/mnt/pve/TheCountVM/images/106/vm-106-disk-1.qcow2,if=none,id=drive-virtio0,format=qcow2,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=tap106i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=62:66:36:64:63:62,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=pc-i440fx-2.11' -incoming unix:/run/qemu-server/106.migrate -S' failed: exit code 1
ERROR: online migrate failure - command '/usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=gonzo' root@x.x.x.x qm start 106 --skiplock --migratedfrom rowlf --migration_type secure --stateuri unix --machine pc-i440fx-2.11' failed: exit code 255
Trying to run the above ssh command manually as well as checking the start task in the log shows;
Cannot find device "bond0.613"
can't activate interface 'bond0.613'
Checking the dmesg output on the target machine shows that the vlan interface was added to the bond, however it gets renamed;
rename12: renamed from bond0.613
As a result when the vmbr0v613 gets created ready for the tap106i0 interface, the expected bond0.613 interface does not exist to become part of the bridge as it is now called rename12
I've tried adding net-ifnames=0 to grub, and also tried ln -s /dev/null /etc/systemd/network/99-default.link but this doesnt help either, anyone have any ideas?