We high-spiritedly announce the release of:
nova 27.2.0: Cloud computing fabric controller
This release is part of the antelope 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.
27.2.0 ^^^^^^
Deprecation Notes *****************
* The hyperv driver is marked as experimental and may be removed in a future release. The driver is not tested by the OpenStack project and does not have a clear maintainer.
Bug Fixes *********
* Relaxed the config option checking of the cpu_power_management feature of the libvirt driver. The nova-compute service will start with [libvirt]cpu_power_management=True and an empty [compute]cpu_dedicated_set configuration. The power management is still only applied to dedicated CPUs. So the above configuration only allowed to ensure that cpu_power_management can be enabled independently for configuring cpu_dedicated_set during deployment.
* [bug 1983471 (https://bugs.launchpad.net/nova/+bug/1983471)] When offloading a shelved instance, the compute will now remove the binding so instance ports will appear as "unbound" in neutron.
* Bug #2003991: Fixes an issue where quota was not properly enforced during unshelve of a "SHELVED_OFFLOADED" server when "[quota]count_usage_from_placement = true" or "[quota]driver = nova.quota.UnifiedLimitsDriver" are configured.
(https://launchpad.net/bugs/2003991)
* Previously "switchdev" capabilities should be configured manually by a user with admin privileges using port's binding profile. This blocked regular users from managing ports with Open vSwitch hardware offloading as providing write access to a port's binding profile to non-admin users introduces security risks. For example, a binding profile may contain a "pci_slot" definition, which denotes the host PCI address of the device attached to the VM. A malicious user can use this parameter to passthrough any host device to a guest, so it is impossible to provide write access to a binding profile to regular users in many scenarios.
This patch fixes this situation by translating VF capabilities reported by Libvirt to Neutron port binding profiles. Other VF capabilities are translated as well for possible future use.
Changes in nova 27.1.0..27.2.0 ------------------------------
3ce1bd5225 Allow enabling cpu_power_management with 0 dedicated CPUs d7ea3a184b Do not manage CPU0's state edfb397580 Fix rebuild compute RPC API exception for rolling-upgrades a861b57508 add a regression test for all compute RPCAPI 6.x pinnings for rebuild 4fcc8c369f Translate VF network capabilities to port binding fbc3018d33 hyperv: Mark driver as experimental 4f4f27be27 Decorate only Flavor.get_* methods that execute queries 976364f9e8 enable validations in nova-lvm f32deaa617 Add debug logging when Instance raises OrphanedObjectError c67e69c0e3 Enforce quota usage from placement when unshelving 004a773a3a Reproducer for bug 2003991 unshelving offloaded instance e1561573ee Unbind port when offloading a shelved instance 1b56714e91 Fix failed count for anti-affinity check 6b8d9d4191 Fix get_segments_id with subnets without segment_id
Diffstat (except docs and test files) -------------------------------------
.zuul.yaml | 2 - nova/api/openstack/compute/shelve.py | 4 +- nova/compute/api.py | 46 +++++++ nova/compute/build_results.py | 8 ++ nova/compute/manager.py | 43 ++++-- nova/conductor/manager.py | 84 +++++++++--- nova/exception.py | 9 ++ nova/limit/placement.py | 8 +- nova/network/neutron.py | 30 ++++- nova/objects/flavor.py | 6 +- nova/objects/instance.py | 5 + nova/objects/pci_device.py | 7 + .../functional/libvirt/test_pci_sriov_servers.py | 25 +--- .../functional/regressions/test_bug_2040264.py | 56 ++++++++ nova/virt/hardware.py | 5 + nova/virt/hyperv/driver.py | 8 ++ nova/virt/libvirt/cpu/api.py | 19 ++- ...-power-management-no-pcpu-28dd7d07d0473ea2.yaml | 11 ++ ...erv-experimental-antelope-372e18a05cafc295.yaml | 6 + ...removed-shelved-offloaded-f1772a64be007b24.yaml | 6 + .../quota-unshelve-offloaded-e4ea2d6a1449f549.yaml | 8 ++ ...abilities_to_port_binding-48abbfe0ce2923cf.yaml | 16 +++ 35 files changed, 967 insertions(+), 110 deletions(-)
participants (1)
-
no-reply@openstack.org