We are jazzed to announce the release of: nova 24.1.0: Cloud computing fabric controller This release is part of the xena 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. 24.1.0 ^^^^^^ New Features ************ * Added a new configuration option "[workarounds]/enable_qemu_monitor_announce_self" that when enabled causes the Libvirt driver to send a announce_self QEMU monitor command post live-migration. Please see bug 1815989 (https://bugs.launchpad.net/nova/+bug/1815989) for more details. Please note that this causes the domain to be considered tainted by libvirt. Known Issues ************ * The libvirt virt driver in Nova implements power on and hard reboot by destroying the domain first and unpluging the vifs then recreating the domain and replugging the vifs. However nova does not wait for the network-vif-plugged event before unpause the domain. This can cause the domain to start running and requesting IP via DHCP before the networking backend has finished plugging the vifs. The config option [workarounds]wait_for_vif_plugged_event_during_hard_reboot has been added, defaulting to an empty list, that can be used to ensure that the libvirt driver waits for the network-vif-plugged event for vifs with specific "vnic_type" before it unpauses the domain during hard reboot. This should only be used if the deployment uses a networking backend that sends such event for the given "vif_type" at vif plug time. The ml2/ovs and the networking-odl Neutron backend is known to send plug time events for ports with "normal" "vnic_type". For more information see https://bugs.launchpad.net/nova/+bug/1946729 Bug Fixes ********* * The "POST /servers" (create server) API will now reject attempts to create a server with the same port specified multiple times. This was previously accepted by the API but the instance would fail to spawn and would instead transition to the error state. * Bug #1829479 (https://bugs.launchpad.net/nova/+bug/1829479): Now deleting a nova-compute service removes allocations of successfully evacuated instances. This allows the associated resource provider to be deleted automatically even if the nova-compute service cannot recover after all instances on the node have been successfully evacuated. * The bug 1952941 is fixed where a pre-Victoria server with pinned CPUs cannot be migrated or evacuated after the cloud is upgraded to Victoria or newer as the scheduling fails with "NotImplementedError: Cannot load 'pcpuset'" error. (https://bugs.launchpad.net/nova/+bug/1952941) * Bug 1950657 (https://bugs.launchpad.net/nova/+bug/1950657), fixing behavior when nova-compute wouldn't retry image download when gets "Corrupt image download" error from glanceclient and has num_retries config option set. Changes in nova 24.0.0..24.1.0 ------------------------------ a8981422af libvirt: Add announce-self post live-migration workaround 70f75ac981 skip test_tagged_attachment in nova-next 7f6ec8cf54 Migrate RequestSpec.numa_topology to use pcpuset d860615527 Reproduce bug 1952941 d4c92bc231 api: Reject duplicate port IDs in server create a79c26e9b1 Update centos 8 py36 functional job nodeset to centos stream 8 1235dc324e [rt] Apply migration context for incoming migrations 0411962938 Extend the reproducer for 1953359 and 1952915 f0a6d946aa Reproduce bug 1953359 b44ec0dc49 Retry image download if it's corrupted 0c41bfb8c5 Add a WA flag waiting for vif-plugged event during reboot 64f5c1cfb0 Define new functional test tox env for placement gate to run 037e588788 Clean up allocations left by evacuation when deleting service 63a6388f6a Ensure MAC addresses characters are in the same case 00cba39613 Avoid unbound instance_uuid var during delete f24e0c1da2 Prevent leaked eventlets to send notifications d960c24130 Query ports with admin client to get resource_request 1066353d19 Reproduce bug 1945310 d4edcd62ba Store old_flavor already on source host during resize e6c6880465 Reproduce bug 1944759 Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 10 +- nova/api/openstack/compute/servers.py | 28 ++- nova/compute/api.py | 16 +- nova/compute/manager.py | 12 ++ nova/compute/resource_tracker.py | 35 +++- nova/conf/workarounds.py | 72 ++++++++ nova/image/glance.py | 3 +- nova/network/neutron.py | 10 +- nova/objects/instance_numa.py | 33 ++-- nova/objects/request_spec.py | 12 ++ nova/scheduler/client/report.py | 32 +++- nova/test.py | 3 + .../functional/test_servers_resource_request.py | 148 +++++++++++++++ .../unit/api/openstack/compute/test_servers.py | 33 +++- nova/virt/libvirt/driver.py | 46 ++++- nova/virt/libvirt/guest.py | 10 + nova/virt/libvirt/migration.py | 11 +- ...-self-post-live-migration-936721b1ab887514.yaml | 8 + ...reject-duplicate-port-ids-a38739d67d5d7c5d.yaml | 7 + .../notes/bug-1829479-cd2db21526965e6d.yaml | 8 + ...-event-during-hard-reboot-fb491f6a68370bab.yaml | 18 ++ ...c-numa-topology-migration-c97dbd51b3c6c116.yaml | 9 + ...-retry-corrupted-download-5798b0df44a00e4e.yaml | 7 + tox.ini | 10 + 39 files changed, 1129 insertions(+), 158 deletions(-)