nova/releasenotes/notes/wallaby-libvirt-version-bump-6fd35d03d7f3df28.yaml
Lee Yarwood 95724bbaef libvirt: Bump MIN_{LIBVIRT,QEMU}_VERSION and NEXT_MIN_{LIBVIRT,QEMU}_VERSION
I8e349849db0b1a540d295c903f1470917b82fd97 bumped these versions late in
the Victoria cycle and it's time to do the same again during Wallaby.

The new MIN_{LIBVIRT,QEMU}_VERSIONs are:

MIN_LIBVIRT_VERSION = (6, 0, 0)
MIN_QEMU_VERSION = (4, 2, 0)

These versions are met by the three defined LTS distros supported by the
Wallaby release [1][2] of Ubuntu 20.04, CentOS 8 and openSUSE Leap 15.2.

The following constants are removed as part of this patch as since
I864494e11ff697788167c996a39f38d3d833d0d7 we now use these new minimum
versions in tests straight away, thus breaking many tests exercising
these now obsolete constants.

- MIN_LIBVIRT_VTPM
- MIN_LIBVIRT_S390X_CPU_COMPARE
- MIN_{LIBVIRT,QEMU}_BLOCKDEV

The removal of MIN_{LIBVIRT,QEMU}_BLOCKDEV means that the swap_volume
will always use the blockCopy libvirt method to copy contents between
disks. This in turn requires that fakelibvirt correctly model the
required flags and blockCopy method.

A future change will look into switching the remaining blockRebase calls
in the live snapshot flow to blockCopy.

Finally, NEXT_MIN_{LIBVIRT,QEMU}_VERSION are also updated to:

NEXT_MIN_LIBVIRT_VERSION = (7, 0, 0)
NEXT_MIN_QEMU_VERSION = (5, 2, 0)

[1] https://governance.openstack.org/tc/reference/runtimes/wallaby.html
[2] https://wiki.openstack.org/wiki/LibvirtDistroSupportMatrix

Change-Id: I017083b27cd9d145eecb01106388d4ce880ba823
2021-01-22 10:06:41 +00:00

14 lines
511 B
YAML

---
upgrade:
- |
The minimum required version of libvirt used by the `nova-compute` service
is now 6.0.0. The next minimum required version to be used in a future
release is 7.0.0.
The minimum required version of QEMU used by the `nova-compute` service is
now 4.2.0. The next minimum required version to be used in a future release
is 5.2.0.
Failing to meet these minimum versions when using the libvirt compute
driver will result in the `nova-compute` service not starting.