Difference between revisions of "LibvirtDistroSupportMatrix"
m (→Distro minimum versions)
m (→Distro minimum versions)
|Line 171:||Line 171:|
Revision as of 10:49, 18 November 2019
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:
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|
|- ! V (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
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|
|Buster ("stable")||as of 2019-11-18||5.0.0||3.1||1.40|
|Bullseye ("sid" - unstable)||No GA date as of 2019-11-18||5.6.0||4.1||1.40|
|KVM for IBM z Systems|
|1.1.2||2016-11-11 (discontinued support on 2018-03-31)||1.3.3||2.6.0||N/A|
|Oracle Linux *|
|7||4.7.0 *||3.0.0 *||1.38.2|
|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|
|19.10 (Eoan Ermine)||2019-10-17||5.6||4.0||1.40.2|
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 available from the KVM Utils YUM repository, not those included with the base OS (which are aligned with RHEL). The Oracle OpenStack product uses docker containers which include the latest versions at the time of release.