Jump to: navigation, search

LibvirtDistroSupportMatrix

Revision as of 12:57, 24 September 2018 by John Garbutt (talk | contribs) (Distro minimum versions)

Libvirt OS distribution support matrix

This page documents the libvirt versions present in the various distro versions that OpenStack Nova aims to be deployable with.

Libvirt min version change policy

At the start of each Nova development cycle this matrix will be consulted to determine if it is viable to drop support for any end-of-life or otherwise undesired distro versions. Based on this distro evaluation, it may be possible to increase the min required version of libvirt in Nova, and thus drop some compatibility code for older versions.

When a decision to update the minimum required libvirt version is made, there must be a warning issued for one cycle. This is achieved by editting nova/virt/libvirt/driver.py to set

 NEXT_MIN_LIBVIRT_VESION = (X, Y, Z)

This causes a deprecation warning to be printed when Nova starts up warning the admin that the version of libvirt they are on will be dropped in the subsequent release.

After a version has been listed in NEXT_MIN_LIBVIRT_VERSION for one release cycle, the corresponding actual min required libvirt can be updated by setting

 MIN_LIBVIRT_VESION = (X, Y, Z)

At this point of course, an even newer version might be set in NEXT_MIN_LIBVIRT_VERSION to repeat the process....

There is more background on the rationale used for picking minimum versions in the operators mailing list thread here:

http://lists.openstack.org/pipermail/openstack-operators/2015-May/007012.html

QEMU min version change policy

After deciding the minimum libvirt version, the minimum QEMU version is determined by looking for the lowest QEMU version from all the distros that support the decided libvirt version

Nova release min version

Nova version Current min libvirt Next min libvirt Current min QEMU Next min QEMU
Havana 0.9.6 0.9.6
Icehouse 0.9.6 0.9.11
Juno 0.9.11 0.9.11
Kilo 0.9.11 0.9.11
Liberty 0.9.11 0.10.2
Mitaka 0.10.2 1.2.1
Newton 1.2.1 1.2.1 1.5.3 1.5.3
Ocata 1.2.1 1.2.9 1.5.3 2.1.0
Pike 1.2.9 1.3.1 2.1.0 2.5.0
Queens 1.2.9 1.3.1 2.1.0 2.5.0
Rocky 1.3.1 3.0.0 2.5.0 2.8.0
Stein (draft)  ? 3.0.0  ? 4.0.0  ? 2.8.0  ? 2.11.0
T (draft)  ?  ?  ?  ?

Distro minimum versions

This table provides information on a representative sample of OS distros and the version of libirt/qemu/libguestfs that they ship. This is *NOT* intended to be an exhaustive list of distros where OpenStack Nova can run - it is intended to run on any Linux distro which can satisfy the minimum required software versions. This table merely aims to help identify when min required versions can be reasonably updated without losing support for important OS distros.

When NEXT_MIN_LIBVIRT_VERSION is updated, any distros which don't meet that version should be changed to have strikethrough format.

When MIN_LIBVIRT_VERSION is updated, any distros which don't meet that version should be deleted from this table

OS Distro GA date Libvirt QEMU/KVM libguestfs
Debian
Stretch 2017-06-17 3.0.0 2.8.0 1.34.6
Buster/Sid checked on 2018-04-05 4.1.0 2.11 1.36.13
Fedora
26 2017-07-11 3.2.1 2.9.0 1.36.4
27 2017-11-14 3.7.0 2.10.0 1.37.29
28 2018-05-01 4.1.0 2.11.1 1.38.0
KVM for IBM z Systems
1.1.0 1.2.13 2.3.0 N/A
1.1.1 1.2.21 2.4.0 N/A
1.1.2 2016-11-11 (discontinued support on 2018-03-31) 1.3.3 2.6.0 N/A
openSUSE
Leap 42.2 2016-11-16 2.0.0 2.6.1 1.32.4
Leap 42.3 2017-07 3.3.0 2.9.0 1.32.4
Leap 15.0 2018-05 4.0.0 2.11.1 1.38.0
Oracle Linux *
7 3.10.0 2.9.0 1.36.3
RHEL *
7.1 2015-03-05 1.2.8 2.1.2 1.28.1
7.2 2015-11-19 1.2.17 2.3.0 1.28.1
7.3 2016-11-03 2.0.0 2.6.0 1.32.7
7.4 2017-08-01 3.2.0 2.9.0 1.36.3
SLES
12 1.2.5 2.0.2 1.26.9
12SP1 2016-01-12 1.2.18 2.3.1 1.26.10
12SP2 2016-11 2.0.0 2.6.1 1.32.4
12SP3 2017-09 3.3.0 2.9.0 1.32.4
Ubuntu
14.04 (Trusty LTS) 1.2.2 2.0.0 1.24.5
16.04 (Xenial LTS) 1.3.1 2.5.0 1.32.2
18.04 (Bionic LTS) 2018-04-26 4.0.0 2.11 1.36.13

NB: maintain alphabetical ordering of distros, followed by oldest released versions first

NB2: RHEL versions of QEMU refer to the qemu-kvm-rhev RPM, not the qemu-kvm RPM, since the former is what is intended for use with OpenStack

NB3: Oracle Linux versions for QEMU and libvirt refer to those used in the docker containers supplied with Oracle OpenStack 4.0. Newer versions will likely be adopted in subsequent releases of Oracle OpenStack. Versions bundled in the OS are aligned with RHEL (i.e. old). Whilst vanilla OpenStack on Oracle Linux is not supported, recent versions of QEMU and libvirt RPMs may be found in the "developer_UEKR5" YUM repository.