We are overjoyed to announce the release of: nova 31.2.0 This release is part of the epoxy 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. 31.2.0 ^^^^^^ Bug Fixes * Fixed the issue bug 2044235 where Nova Conductor puts an instance into an error state if any errors occur during execution of the 'check_can_live_migrate_source()' method in an RPC call. Now, any error is caught and a MigrationPreCheckError exception is re-raised to reset the instance state. * [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. Changes in nova 31.1.0..31.2.0 ------------------------------ 4f894c9cb5 nova-conductor puts instance in error state 0888d4c2a2 Adds regression test for bug LP#2044235 d2c23c91ef Add admin context when filling metadata on ImagePropsWeigher 794de44773 Regression test for ImagePropsWeigher due to missing context 98490b673c hypervisors: Optimize uptime retrieval for better performance 78be167931 [pci]Keep used dev in Placement regardless of dev_spec a63b4e04b3 [PCI tracker]Remove non configured devs when freed 1863fbf876 Reproduce bug/2115905 32149071da libvirt: Disable VMCoreInfo device for SEV-encrypted instances f9dcc3b00f Fix bug 2114951 21bd36d87c Reproducer for bug 2114951 f5946fca46 Fix 'nova-manage image_property set' command e3695702a2 Fix pci_tracker.save to delete all removed devs 5269fcd8f1 Reproduce that only half of the PCI devs are removed aecf852b66 api: Fix validators for hw:cpu_max_* extra specs 101fd12c66 Don't reset port dns_name when shelving instances 118ee2e41c Fix disable memballoon device cb701071a1 [doc]Clarify where to set pci_in_placement 749379ab43 Fix case sensitive comparison 4bad614489 Fix case-sensitivity for metadata keys 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/compute/schemas/servers.py | 6 +- nova/api/validation/extra_specs/hw.py | 10 +- nova/cmd/manage.py | 2 + nova/compute/manager.py | 16 +- nova/compute/pci_placement_translator.py | 236 ++++++++++---- nova/compute/resource_tracker.py | 7 +- nova/compute/stats.py | 6 + nova/conf/scheduler.py | 4 +- nova/exception.py | 6 + nova/network/neutron.py | 5 +- nova/objects/aggregate.py | 11 +- nova/pci/manager.py | 22 +- nova/scheduler/weights/image_props.py | 8 +- .../functional/libvirt/test_pci_in_placement.py | 353 +++++++++++++++++++-- .../functional/regressions/test_bug_2044235.py | 60 ++++ .../functional/regressions/test_bug_2125052.py | 74 +++++ .../unit/api/openstack/compute/test_aggregates.py | 13 + .../unit/api/openstack/compute/test_hypervisors.py | 33 +- .../unit/api/openstack/compute/test_volumes.py | 25 ++ .../unit/compute/test_pci_placement_translator.py | 250 ++++++++++++++- nova/virt/hardware.py | 8 +- nova/virt/libvirt/driver.py | 26 +- nova/virt/zvm/driver.py | 1 + ...ance-after-rpc-issue-during-live-migration.yaml | 9 + ...ory-encryption-is-enabled-142e64f6b9ef3135.yaml | 7 + ...-performance-optimization-6f3a2c8e5d9b1a4e.yaml | 23 ++ 39 files changed, 1374 insertions(+), 174 deletions(-)
participants (1)
-
no-reply@openstack.org