[release-announce] openstack-placement 5.0.0 (wallaby)

no-reply at openstack.org no-reply at openstack.org
Wed Apr 14 11:23:14 UTC 2021


We joyfully announce the release of:

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

This release is part of the wallaby 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 4.0.0..5.0.0
-------------------------------------------

f41599e1 Update traits in tests and requirements
b2ecae24 policy: Add releasenote for RBAC work
94279af1 Implement secure RBAC for reshaper
6805790d policy: Add note about keystone's expansion of roles
6498534c policy: Deprecate 'admin_api' rule
c9284130 policy: Remove the deprecated 'placement' rule
7a7365c7 Implement secure RBAC for usage
1f9529f8 Implement secure RBAC for traits
e0c9a5a9 Implement secure RBAC for resource classes
d0e49b79 Implement secure RBAC for inventories
8959e3f8 Implement secure RBAC for allocation candidates
b8e648f1 Implement secure RBAC for allocations
468c1b73 Implement secure RBAC for aggregates
73203a91 Implement secure RBAC for resource providers
f9f65994 policy: Don't persist default rule changes in tests
069583c3 policy: Suppress policy deprecation warnings
560de6a3 Pass context objects to oslo.policy directly
fa95ef87 [goal] Deprecate the JSON formatted policy file
ed29666f Bump oslo.log version to 4.3.0
0c8cc6ee Remove deprecated [placement]/policy_file config option
a0acd219 Fix l-c job and move to latest hacking 4.0.0
c02a073c Fix Placement Doc
46947d52 Add functional-py3[89] tox targets
34ec0363 Add Python3 wallaby unit tests
116541a7 Update master for stable/victoria
8685ca0e Adds py38 functional tests to gate


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

.zuul.yaml                                         |  14 +-
lower-constraints.txt                              |  32 +-
placement/auth.py                                  |  19 +-
placement/cmd/status.py                            |   3 +
placement/conf/base.py                             |  14 +
placement/conf/database.py                         |  45 ++-
placement/conf/placement.py                        |  20 -
placement/direct.py                                |   5 +-
placement/handlers/trait.py                        |   4 +-
placement/handlers/usage.py                        |  13 +-
placement/objects/allocation_candidate.py          |   4 +-
placement/policies/__init__.py                     |   3 +-
placement/policies/aggregate.py                    |  28 +-
placement/policies/allocation.py                   |  84 +++-
placement/policies/allocation_candidate.py         |  22 +-
placement/policies/base.py                         |  36 +-
placement/policies/inventory.py                    |  92 +++--
placement/policies/reshaper.py                     |  18 +-
placement/policies/resource_class.py               |  92 +++--
placement/policies/resource_provider.py            |  92 +++--
placement/policies/trait.py                        | 113 ++++--
placement/policies/usage.py                        |  44 ++-
placement/policy.py                                |  77 ++--
placement/requestlog.py                            |  24 +-
.../functional/gabbits/aggregate-legacy-rbac.yaml  | 134 +++++++
.../functional/gabbits/aggregate-secure-rbac.yaml  | 133 +++++++
.../gabbits/allocation-candidates-legacy-rbac.yaml |  68 ++++
.../gabbits/allocation-candidates-secure-rbac.yaml |  68 ++++
.../gabbits/allocations-legacy-rbac.yaml           | 283 ++++++++++++++
.../gabbits/allocations-secure-rbac.yaml           | 285 ++++++++++++++
.../functional/gabbits/inventory-legacy-rbac.yaml  | 424 +++++++++++++++++++++
.../functional/gabbits/inventory-secure-rbac.yaml  | 372 ++++++++++++++++++
.../functional/gabbits/reshaper-legacy-rbac.yaml   |  90 +++++
.../functional/gabbits/reshaper-secure-rbac.yaml   | 168 ++++++++
.../gabbits/resource-classes-legacy-rbac.yaml      |  80 ++++
.../gabbits/resource-classes-secure-rbac.yaml      | 184 +++++++++
.../gabbits/resource-provider-legacy-rbac.yaml     | 210 ++++++++++
.../gabbits/resource-provider-secure-rbac.yaml     | 202 ++++++++++
.../functional/gabbits/traits-legacy-rbac.yaml     | 108 ++++++
.../functional/gabbits/traits-secure-rbac.yaml     | 246 ++++++++++++
.../functional/gabbits/usage-legacy-rbac.yaml      |  54 +++
.../functional/gabbits/usage-secure-rbac.yaml      | 154 ++++++++
...son-formatted-policy-file-dbec7a29325316de.yaml |  20 +
.../rbac-policy-support-94f84c29da81c331.yaml      |  61 +++
...precated-placement-policy-cba1414ca626302d.yaml |   6 +
...cement-policy-file-config-bb9bb26332413a77.yaml |   8 +
releasenotes/source/index.rst                      |   1 +
releasenotes/source/victoria.rst                   |   6 +
requirements.txt                                   |  18 +-
setup.cfg                                          |   3 +
test-requirements.txt                              |   8 +-
tox.ini                                            |  21 +-
63 files changed, 4067 insertions(+), 443 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index bdbe52cb..0a01ec46 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5 +5 @@
-pbr!=2.1.0,>=2.0.0 # Apache-2.0
+pbr>=3.1.1 # Apache-2.0
@@ -11 +11 @@ jsonschema>=3.2.0 # MIT
-requests>=2.14.2 # Apache-2.0
+requests>=2.25.0 # Apache-2.0
@@ -15,4 +15,4 @@ oslo.config>=6.7.0 # Apache-2.0
-oslo.context>=2.19.2 # Apache-2.0
-oslo.log>=3.36.0 # Apache-2.0
-oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
-oslo.utils>=3.37.0 # Apache-2.0
+oslo.context>=2.22.0 # Apache-2.0
+oslo.log>=4.3.0 # Apache-2.0
+oslo.serialization>=2.25.0 # Apache-2.0
+oslo.utils>=4.5.0 # Apache-2.0
@@ -20 +20 @@ oslo.db>=4.40.0 # Apache-2.0
-oslo.policy>=1.35.0 # Apache-2.0
+oslo.policy>=3.6.0 # Apache-2.0
@@ -22 +22 @@ oslo.middleware>=3.31.0 # Apache-2.0
-oslo.upgradecheck>=0.2.0 # Apache-2.0
+oslo.upgradecheck>=1.3.0 # Apache-2.0
@@ -25 +25 @@ os-resource-classes>=0.5.0 # Apache-2.0
-os-traits>=2.4.0 # Apache-2.0
+os-traits>=2.5.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 890d52e8..bbcc35ff 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -5,5 +5 @@
-hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
-# remove this pyflakes from here once you bump the
-# hacking to 3.2.0 or above. hacking 3.2.0 takes
-# care of pyflakes version compatibilty.
-pyflakes>=2.1.1
+hacking>=4.0.0,<4.1.0 # Apache-2.0
@@ -19 +15 @@ PyMySQL>=0.8.0 # MIT License
-oslotest>=3.4.0 # Apache-2.0
+oslotest>=3.5.0 # Apache-2.0






More information about the Release-announce mailing list