I recently came across the following warning while migrating a few VMs within our cluster.
Upon reviewing qemu-server.pm in combination with this commit it came to my attention that this warning is yield when the following parameters are met:
E.g.:
It seems that net0=0 is wrongly assumed when an MTU of 1500 is set.
Any ideas?
Code:
netdev net0: not adding 'host_mtu' parameter for migration compat
WARN: netdev net0: ignoring MTU '1500', not used on the source side according to migration parameters
/dev/rbd1
migration listens on unix:/run/qemu-server/3006.migrate
TASK WARNINGS: 1
Upon reviewing qemu-server.pm in combination with this commit it came to my attention that this warning is yield when the following parameters are met:
- VM with VirtIO networking driver
- $migration_skip_host_mtu is true which is $nets_host_mtu->{$netname}
E.g.:
Code:
pvesh get nodes/HOST-NAME-123/qemu/4010/status/current
┌────────────────────┬─────────────────────────────────┐
│ key │ value │
╞════════════════════╪═════════════════════════════════╡
│[...]
├────────────────────┼─────────────────────────────────┤
│ running-machine │ pc-q35-9.1+pve0 │
├────────────────────┼─────────────────────────────────┤
│[...]
It seems that net0=0 is wrongly assumed when an MTU of 1500 is set.
Any ideas?
Last edited: