We are excited to announce the release of: nova 30.2.0 This release is part of the dalmatian 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. 30.2.0 ^^^^^^ Bug Fixes * Fixed the issue bug 2098496 where nova assigned more PCI hostdevs to a VM than the flavor requested via the pci_passthrough:alias extra_spec. This only affected systems where both "[filter_scheduler]pci_in_placement" and "[pci]report_in_placement" were set to True. This only affected systems where the PCI alias requested type-VF devices and a single PF device on the compute node supported more than one VFs and "[pci]device_spec" configuration allowed nova to use multiple VFs from a single PF. * [bug 2117170 (https://bugs.launchpad.net/nova/+bug/2117170)] Libvirt driver no longer enables VMCoreInfo device when an instance has memory encryption is enabled, to avoid kernel crash caused by fw_cfg device in guest requiring DMA. * Fixed performance issue with the "/os-hypervisors/detail" API endpoint when using microversion 2.88 or higher. The API was making sequential RPC calls to each compute node to gather uptime information, causing significant delays in environments with many compute nodes (LP#2122036). The fix optimizes uptime retrieval by: * Adding uptime information to the periodic resource updates sent by nova-compute to the database, eliminating the need for synchronous RPC calls during API requests * Only attempting RPC-based uptime retrieval for hypervisor types that actually support it (libvirt and z/VM), avoiding unnecessary calls to other hypervisor types that would always return NotImplementedError * Preferring cached uptime data from the database over RPC calls when available, this updates at the cadence specified by *[DEFAULT]update_resources_interval* which is the same interval the other hypervisor stats update. This change significantly reduces response times for the hypervisor detail API in large deployments while maintaining backward compatibility. * The nova (metadata)api wsgi application will now detect fatal errors (configuration, et al) on startup and lock into a permanent error state until fixed and restarted. This solves a problem with some wsgi runtimes ignoring initialization errors and continuing to send requests to the half-initialized service. See https://bugs.launchpad.net/nova/+bug/2103811 for more details. Changes in nova 30.1.0..30.2.0 ------------------------------ dfd96286a2 libvirt: Disable VMCoreInfo device for SEV-encrypted instances b43f0a983c hypervisors: Optimize uptime retrieval for better performance 20f7cfe88d Fix case sensitive comparison 1db0a1843f Fix case-sensitivity for metadata keys 760a0999b4 Fix 'nova-manage image_property set' command 8a12952247 Fix pci_tracker.save to delete all removed devs 5c2a4a4bfd Reproduce that only half of the PCI devs are removed 1d717dffd3 [doc]Clarify where to set pci_in_placement a15bf74342 Fix disable memballoon device 8ab908df43 wrap wsgi_app.init_application with latch_error_on_raise 82285371b6 Ignore metadata tags in pci/stats _find_pool logic fd792da36e Reproduce bug/2098496 Diffstat (except docs and test files) ------------------------------------- api-ref/source/parameters.yaml | 7 +- nova/api/openstack/compute/aggregates.py | 3 +- nova/api/openstack/compute/hypervisors.py | 30 +++-- nova/api/openstack/wsgi_app.py | 2 + nova/cmd/manage.py | 2 + nova/compute/resource_tracker.py | 7 +- nova/compute/stats.py | 6 + nova/conf/scheduler.py | 4 +- nova/exception.py | 6 + nova/objects/aggregate.py | 11 +- nova/pci/manager.py | 4 +- nova/pci/stats.py | 47 +++++++ nova/test.py | 1 + .../functional/regressions/test_bug_2098496.py | 135 +++++++++++++++++++++ .../unit/api/openstack/compute/test_aggregates.py | 13 ++ .../unit/api/openstack/compute/test_hypervisors.py | 33 ++++- nova/utils.py | 39 ++++++ nova/virt/hardware.py | 8 +- nova/virt/libvirt/driver.py | 26 ++-- nova/virt/zvm/driver.py | 1 + ...i-hostdevs-than-requested-0139018213f1be96.yaml | 12 ++ ...ory-encryption-is-enabled-142e64f6b9ef3135.yaml | 7 ++ ...-performance-optimization-6f3a2c8e5d9b1a4e.yaml | 23 ++++ .../latch-error-on-raise-cf2da71a12b5f55f.yaml | 9 ++ 34 files changed, 748 insertions(+), 65 deletions(-)
participants (1)
-
no-reply@openstack.org