MTU setting feature conflicts with minimum Qemu version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Sahid Orentino |
Bug Description
Afaics Nova breaks with Qemu versions newer than the minimum required version.
The change at [1] added support for setting MTU size in the libvirt settings of guests. This code checks for a minimum libvirt version 3.3.0 [2] but not for a required Qemu version.
The Nova minimum required Qemu version is 2.5 currently according to [3] (which is the latest release available with Ubuntu Xenial 16.04).
Afaics Qemu added support with release 2.9 [4] which means versions 2.5 to 2.8 of Qemu will break despite being listed as supported iiuc.
This issue broke our CIs. For verification i checked the master commit [5] which merged prior to [1] which tested ok with our CI.
The fix probably is to simply add a check for the minimum required Qemu version beside the minimum required libvirt version.
[1] https:/
[2] https:/
[3] https:/
[4] https:/
[5] https:/
tags: | added: libvirt queens-backport-potential |
It's not really clear why libvirt is also trying to configure host_mtu for virtio-net devices and why it returns an error if the QEMU version does not support that setting. libvirt should probably just create the tap device and configure it. Then configuring virtio-net should be a nice to have.
I'm currently discussing with community but we will have to probably provide a fix/workaround.