We are overjoyed to announce the release of: nova 24.2.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.2.0 ^^^^^^ Bug Fixes ********* * As a fix for bug 1942329 (https://bugs.launchpad.net/neutron/+bug/1942329) nova now updates the MAC address of the "direct-physical" ports during mova operations to reflect the MAC address of the physical device on the destination host. Those servers that were created before this fix need to be moved or the port needs to be detached and the re- attached to synchronize the MAC address. * [bug 1958636 (https://bugs.launchpad.net/nova/+bug/1958636)] Explicitly check for and enable SMM when firmware requires it. Previously we assumed libvirt would do this for us but this is not true in all cases. * Bug #1978444 (https://bugs.launchpad.net/nova/+bug/1978444): Now nova retries deleting a volume attachment in case Cinder API returns "504 Gateway Timeout". Also, "404 Not Found" is now ignored and leaves only a warning message. * Bug #1981813 (https://bugs.launchpad.net/nova/+bug/1981813): Now nova detects if the "vnic_type" of a bound port has been changed in neutron and leaves an ERROR message in the compute service log as such change on a bound port is not supported. Also the restart of the nova-compute service will not crash any more after such port change. Nova will log an ERROR and skip the initialization of the instance with such port during the startup. * During the havana cycle it was discovered that eventlet monkey patching of greendns broke ipv6. https://bugs.launchpad.net/nova/+bug/1164822 Since then nova has been disabling eventlet monkey patching of greendns. Eventlet adressed the ipv6 limitation in v0.17 with the introduction of python 3 support in 2015. Nova however continued to disable it, which can result i slow dns queries blocking the entire nova api or other binary because socket.getaddrinfo becomes a blocking call into glibc see: https://bugs.launchpad.net/nova/+bug/1964149 for more details. * If compute service is down in source node and user try to stop instance, instance gets stuck at powering-off, hence evacuation fails with msg: Cannot 'evacuate' instance <instance-id> while it is in task_state powering-off. It is now possible for evacuation to ignore the vm task state. For more details see: bug 1978983 (https://bugs.launchpad.net/nova/+bug/1978983) * When vDPA was first introduced move operations were implemented in the code but untested either in a real environment or in functional tests. Due to this gap nova elected to block move operations for instance with vDPA devices. All move operations except for live migration have now been tested and found to indeed work so the API blocks have now been removed and functional tests introduced. Other operations such as suspend and live migration require code changes to support and will be enabled as new features in the future. Other Notes *********** * A workaround has been added to the libvirt driver to catch and pass migrations that were previously failing with the error: "libvirt.libvirtError: internal error: migration was active, but no RAM info was set" See bug 1982284 for more details. (https://bugs.launchpad.net/nova/+bug/1982284) Changes in nova 24.1.1..24.2.0 ------------------------------ 1a98a1a650 Gracefully ERROR in _init_instance if vnic_type changed 0c87681135 Reproduce bug 1981813 in func env 867c4dd893 [stable-only][cve] Check VMDK create-type against an allowed list c3092e3ee7 enable blocked VDPA move operations afc55c564f Add compute restart capability for libvirt func tests b36bc9247f Remove double mocking... again 54c7c97cb8 Remove double mocking a340630c5c Record SRIOV PF MAC in the binding profile e7c2e55c66 refactor: remove duplicated logic 0e4a257e86 Adapt websocketproxy tests for SimpleHTTPServer fix 14f9b7627e Retry attachment delete API call for 504 Gateway Timeout 15502ddedc [compute] always set instance.host in post_livemigration 5efcc3f695 Adds a repoducer for post live migration fail 98d9936e54 Handle "no RAM info was set" migration case 8e9aa71e1a For evacuation, ignore if task_state is not None 1e0af92e17 add regression test case for bug 1978983 62e1a621d1 [nova/libvirt] Support for checking and enabling SMM when needed 076f95371a Fix instance's image_ref lost on failed unshelving ec73ff1f78 Reproducer unit test for bug 1934094 d322f8e8b5 neutron: Unbind remaining ports after PortNotFound b12f7ebcdd Retry in CellDatabases fixture when global DB state changes a913ab1aab reenable greendns in nova. 513241a7e4 Fix the wrong exception used to retry detach API calls Diffstat (except docs and test files) ------------------------------------- nova/compute/api.py | 12 +- nova/compute/manager.py | 63 +- nova/compute/resource_tracker.py | 7 +- nova/conf/compute.py | 9 + nova/exception.py | 4 + nova/monkey_patch.py | 15 +- nova/network/neutron.py | 93 ++- nova/objects/pci_device.py | 19 + nova/test.py | 15 +- .../functional/compute/test_resource_tracker.py | 10 - .../functional/libvirt/test_numa_live_migration.py | 12 +- .../functional/libvirt/test_pci_sriov_servers.py | 819 ++++++++++++++++++--- .../functional/regressions/test_bug_1628606.py | 60 ++ .../functional/regressions/test_bug_1781286.py | 30 +- .../functional/regressions/test_bug_1978983.py | 71 ++ .../api/openstack/compute/test_create_backup.py | 4 - .../unit/api/openstack/compute/test_hypervisors.py | 394 +++++----- .../unit/api/openstack/compute/test_limits.py | 167 ++--- .../api/openstack/compute/test_migrate_server.py | 3 +- .../api/openstack/compute/test_server_actions.py | 38 +- .../unit/api/openstack/compute/test_servers.py | 30 +- .../unit/api/openstack/compute/test_volumes.py | 10 +- nova/virt/fake.py | 39 + nova/virt/images.py | 31 + nova/virt/libvirt/config.py | 13 + nova/virt/libvirt/driver.py | 10 +- nova/virt/libvirt/guest.py | 7 + nova/virt/libvirt/host.py | 22 +- nova/volume/cinder.py | 26 +- .../notes/bug-1942329-22b08fa4b322881d.yaml | 9 + .../notes/bug-1958636-smm-check-and-enable.yaml | 7 + .../notes/bug-1978444-db46df5f3d5ea19e.yaml | 7 + ...-1981813-vnic-type-change-9f3e16fae885b57f.yaml | 9 + ...andle-no-ram-info-was-set-99784934ed80fd72.yaml | 11 + releasenotes/notes/greendns-34df7f9fba952bcd.yaml | 14 + ...task-state-for-evacuation-e000f141d0153638.yaml | 11 + .../notes/vdpa-move-ops-a7b3799807807a92.yaml | 11 + 76 files changed, 3120 insertions(+), 1241 deletions(-)
participants (1)
-
no-reply@openstack.org