[release-announce] nova 20.5.0 (train)

no-reply at openstack.org no-reply at openstack.org
Thu Feb 4 11:05:06 UTC 2021


We enthusiastically announce the release of:

nova 20.5.0: Cloud computing fabric controller

This release is part of the train 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.

20.5.0
^^^^^^


Upgrade Notes
*************

* The default for "[glance] num_retries" has changed from "0" to
  "3". The option controls how many times to retry a Glance API call
  in response to a HTTP connection failure. When deploying Glance
  behind HAproxy it is possible for a response to arrive just after
  the HAproxy idle time. As a result, an exception will be raised when
  the connection is closed resulting in a failed request. By
  increasing the default value, Nova can be more resilient to this
  scenario were HAproxy is misconfigured by retrying the request.


Bug Fixes
*********

* Fixes bug 1892361 in which the pci stat pools are not updated when
  an existing device is enabled with SRIOV capability. Restart of
  nova-compute service updates the pci device type from type-PCI to
  type-PF but the pools still maintain the device type as type-PCI.
  And so the PF is considered for allocation to instance that requests
  vnic_type=direct. With this fix, the pci device type updates are
  detected and the pci stat pools are updated properly.

   (https://bugs.launchpad.net/nova/+bug/1892361)


Other Notes
***********

* The nova libvirt virt driver supports creating instances with
  multi- queue virtio network interfaces. In previous releases nova
  has based the maximum number of virtio queue pairs that can be
  allocated on the reported kernel major version. It has been reported
  in bug #1847367 that some distros have backported changes from later
  major versions that make major version number no longer suitable to
  determine the maximum virtio queue pair count. A new config option
  has been added to the libvirt section of the nova.conf. When defined
  nova will now use the "[libvirt]/max_queues" option to define the
  max queues that can be configured, if undefined it will fallback to
  the previous kernel version approach.

   (https://bugs.launchpad.net/nova/+bug/1847367)

Changes in nova 20.4.1..20.5.0
------------------------------

8378785f99 Update pci stat pools based on PCI device changes
b2037fc4e3 [stable-only] Cap bandit to 1.6.2 and raise hacking, flake8 and stestr
4653245ddc Validate id as integer for os-aggregates
0c0c5b12cf docs: Clarify configuration steps for PF devices
9223613ad3 docs: Change order of PCI configuration steps
74b2af473c docs: Rework the PCI passthrough guides
ca2fd8098a Change default num_retries for glance to 3
286d7cfc5c add [libvirt]/max_queues config option


Diffstat (except docs and test files)
-------------------------------------

lower-constraints.txt                              |   6 +-
nova/api/openstack/compute/aggregates.py           |  41 +++-
nova/conf/glance.py                                |   2 +-
nova/conf/libvirt.py                               |   8 +
nova/conf/pci.py                                   |   3 +-
nova/pci/manager.py                                |   1 +
nova/pci/stats.py                                  |  26 +++
.../functional/libvirt/test_pci_sriov_servers.py   |  80 ++++++++
.../unit/api/openstack/compute/test_aggregates.py  |  65 +++++--
nova/virt/libvirt/vif.py                           |   7 +
...61-pci-deivce-type-update-c407a66fd37f6405.yaml |  12 ++
...crease_glance_num_retries-ddfcd7053631882b.yaml |  11 ++
.../notes/virtio-max-queues-27f73e988c7e66ba.yaml  |  15 ++
test-requirements.txt                              |   4 +-
20 files changed, 498 insertions(+), 156 deletions(-)


Requirements updates
--------------------

diff --git a/test-requirements.txt b/test-requirements.txt
index a3e369f85a..98a6bba99a 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -19 +19 @@ oslotest>=3.8.0 # Apache-2.0
-stestr>=1.0.0 # Apache-2.0
+stestr>=2.0.0 # Apache-2.0
@@ -24 +24 @@ testtools>=2.2.0 # MIT
-bandit>=1.1.0 # Apache-2.0
+bandit>=1.1.0,<=1.6.2 # Apache-2.0






More information about the Release-announce mailing list