[release-announce] openstack-placement 7.0.0 (yoga)

no-reply at openstack.org no-reply at openstack.org
Wed Mar 30 12:05:22 UTC 2022


We are amped to announce the release of:

openstack-placement 7.0.0: Resource provider inventory usage and
allocation service

This release is part of the yoga release series.

The source is available from:

    https://opendev.org/openstack/openstack-placement

Download the package from:

    https://pypi.org/project/openstack-placement

For more details, please see below.

Changes in openstack-placement 6.0.0.0rc1..7.0.0
------------------------------------------------

b2afade1 Add microversion 1.39 to support any-trait queries
8245f9e5 Remove unused compatibility code
87e56f74 Add any-traits support for allocation candidates
faa1ad51 Add any-traits support for listing resource providers
c19481a5 Extend the RP tree DB query to support any-traits
849c9afd Enhance doc of _get_trees_with_traits
2d2a8ce7 DB layer should only depend on trait id not names
a5ebaf2a Extend the RP db query to support any-traits
7e3602b3 Refactor trait normalization
396634e0 Extra tests around required traits
89cc7332 update placement for os-traits 2.7.0 release
affb87af disable traits count check to allow os-traits 2.7.0
1141597b Updating python testing as per Yoga testing runtime
fb71123a Spec: support mixing required traits with any traits
f7422e27 Spec: support any trait in allocation candidates
a5f31071 Add yoga spec directory
6d49b6df Use 'functional-without-sample-db-tests' tox env for placement nova job
967abd1d Bump min decorator to 4.0.0
7541d94d Add Python3 yoga unit tests
de4eb283 Update master for stable/xena
2007f8fb Enable HTTPProxyToWSGI middleware to find actual client ips


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

.zuul.yaml                                         |  25 +-
api-ref/source/parameters.yaml                     |  59 +-
...ment-mixing-required-traits-with-any-traits.rst | 204 +++++
...6-any-traits-in-allocation_candidates-query.rst | 197 +++++
etc/placement/config-generator.conf                |   1 +
lower-constraints.txt                              |   4 +-
placement/conf/__init__.py                         |   4 +-
placement/deploy.py                                |   5 +-
placement/handlers/resource_provider.py            |  11 +-
placement/lib.py                                   |  93 ++-
placement/microversion.py                          |   4 +
placement/objects/allocation_candidate.py          |  60 +-
placement/objects/research_context.py              | 339 +++++----
placement/objects/resource_provider.py             |  54 +-
placement/rest_api_version_history.rst             |  15 +
.../functional/db/test_allocation_candidates.py    | 827 ++++++++++++++++++---
.../allocation-candidates-any-traits-groups.yaml   | 159 ++++
.../gabbits/allocation-candidates-any-traits.yaml  |  76 ++
.../gabbits/resource-provider-any-traits.yaml      |  47 ++
placement/util.py                                  | 184 ++++-
.../notes/any-traits-support-d3807c27e5a8865c.yaml |  12 +
.../notes/http_proxy_to_wsgi-6c8392d7eaed7c8d.yaml |   6 +
releasenotes/source/index.rst                      |   1 +
releasenotes/source/xena.rst                       |   6 +
requirements.txt                                   |   2 +-
setup.cfg                                          |   1 +
tox.ini                                            |   2 +-
35 files changed, 3166 insertions(+), 379 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 1986a681..6e6b9ce9 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -25 +25 @@ os-resource-classes>=1.1.0 # Apache-2.0
-os-traits>=2.6.0 # Apache-2.0
+os-traits>=2.7.0 # Apache-2.0






More information about the Release-announce mailing list