We are overjoyed to announce the release of: nova 21.1.0: Cloud computing fabric controller This release is part of the ussuri stable release series. The source is available from: https://opendev.org/openstack/nova Download the package from: https://tarballs.openstack.org/nova/ Please report issues through: https://bugs.launchpad.net/nova/+bugs For more details, please see below. 21.1.0 ^^^^^^ Upgrade Notes ************* * When using file-backed memory, the "nova-compute" service will now fail to start if the amount of reserved memory configured using "[DEFAULT] reserved_host_memory_mb" is equal to or greater than the total amount of memory configured using "[libvirt] file_backed_memory". Where reserved memory is less than the total amount of memory configured, a warning will be raised. This warning will become an error in a future release. The former combination is invalid as it would suggest reserved memory is greater than total memory available, while the latter is considered incorrect behavior as reserving of file-backed memory can and should be achieved by reducing the filespace allocated as memory by modifying "[libvirt] file_backed_memory". Bug Fixes ********* * A new "[workarounds]/reserve_disk_resource_for_image_cache" config option was added to fix the bug 1878024 where the images in the compute image cache overallocate the local disk. If this new config is set then the libvirt driver will reserve DISK_GB resources in placement based on the actual disk usage of the image cache. (https://bugs.launchpad.net/nova/+bug/1878024) * Previously, attempting to configure an instance with the "e1000e" or legacy "VirtualE1000e" VIF types on a host using the QEMU/KVM driver would result in an incorrect "UnsupportedHardware" exception. These interfaces are now correctly marked as supported. Changes in nova 21.0.0..21.1.0 ------------------------------ bbf9d1de06 libvirt: Provide VIR_MIGRATE_PARAM_PERSIST_XML during live migration 3f3b889f4e libvirt: Do not reference VIR_ERR_DEVICE_MISSING when libvirt is < v4.1.0 30ee639b62 [Trivial] Remove wrong format_message() conversion 034b2fa8fe compute: Don't delete the original attachment during pre LM rollback 6db72002a6 Add regression tests for bug #1889108 6070c55793 func: Add live migration rollback volume attachment tests 726ca4aec5 func: Add _live_migrate helper to InstanceHelperMixin 9069b2802f tests: Define constants in '_IntegratedTestBase' ac05bc3b38 Handle multiple 'vcpusched' elements during live migrate 42bfd50626 compute: Do not allow rescue attempts using volume snapshot images aed86ee5d6 objects: Update keypairs when saving an instance 93058ae1b8 libvirt: Handle VIR_ERR_DEVICE_MISSING when detaching devices cf399a363c zuul: remove legacy-tempest-dsvm-neutron-dvr-multinode-full ecd218b1a4 Correct reported system memory 247e33af8f catch libvirt exception when nodedev not found. 840de3b892 libvirt: Mark e1000e VIF as supported 02f213b831 Fix cherry-pick check for merge patch 9d3ebd58aa libvirt: Don't allow "reserving" file-backed memory a6a48e876c Guard against missing image cache directory eedc0b5ff3 hardware: Raise useful error for invalid mempage size 5cacfaab82 Check cherry-pick hashes in pep8 tox target 8b48ca672d libvirt: Don't delete disks on shared storage during evacuate 6ccd13f8ae Add functional test for bug 1550919 ed05246069 remove support of oslo.messaging 9.8.0 warning message 57702ad484 Add admin doc information about image cache resource accounting 968981b585 Reserve DISK_GB resource for the image cache a270eeeb9b compute: Allow snapshots to be created from PAUSED volume backed instances fa2bfac862 Make quotas respect instance_list_per_project_cells 1caddc4250 Silence amqp heartbeat warning e8b3927c92 Update scheduler instance info at confirm resize 016eeec984 Reproduce bug 1869050 e7ea1226b1 Bump hacking min version to 3.0.1 e61d002530 Remove stale nested backport from InstancePCIRequests Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 2 - nova/api/openstack/compute/rescue.py | 5 +- nova/compute/api.py | 24 +- nova/compute/manager.py | 13 +- nova/conf/workarounds.py | 19 + nova/config.py | 13 + nova/exception.py | 4 + nova/objects/instance.py | 5 +- nova/objects/instance_pci_requests.py | 8 - nova/quota.py | 8 +- .../functional/compute/test_live_migration.py | 93 +++ .../functional/regressions/test_bug_1595962.py | 3 +- .../functional/regressions/test_bug_1843708.py | 70 +++ .../functional/regressions/test_bug_1889108.py | 101 ++++ .../unit/api/openstack/compute/test_rescue.py | 10 + .../unit/objects/test_instance_pci_requests.py | 14 - nova/virt/hardware.py | 20 +- nova/virt/imagecache.py | 9 + nova/virt/libvirt/driver.py | 276 ++++++--- nova/virt/libvirt/guest.py | 25 +- nova/virt/libvirt/host.py | 4 - nova/virt/libvirt/imagecache.py | 31 + nova/virt/libvirt/migration.py | 20 +- nova/virt/libvirt/vif.py | 2 + ...erve-disk-for-image-cache-ef6688f869b12bcb.yaml | 10 + ...-memory-reserved-conflict-3ad4c04ab993ebf8.yaml | 15 + ...882919-support-e1000e-vif-5437a45c13dff978.yaml | 7 + test-requirements.txt | 2 +- tools/check-cherry-picks.sh | 42 ++ tox.ini | 1 + 55 files changed, 2068 insertions(+), 304 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index b04b42b0df..25ac29b7ef 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5 +5 @@ -hacking>=2.0<2.1 +hacking>=3.0.1,<3.1.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org