openstack-placement 6.0.0 (xena)
We jubilantly announce the release of: openstack-placement 6.0.0: Resource provider inventory usage and allocation service This release is part of the xena 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 5.0.0..6.0.0 ------------------------------------------- d05132ba Bump min decorator to 4.0.0 6d977653 Update TOX_CONSTRAINTS_FILE for stable/xena f7e67567 Update .gitreview for stable/xena d90f1672 Narrow scope of set allocations database transaction 7d903412 Call Engine.execute() in func tests for oslo.db 11.0.0 8b000867 Add reproducer for Project creation race bug e9b6a2ec Fix adding 'unknown' to the ConsumerTypeCache 40a756c7 Reproduce 404 when allocation queried with 1.38 419dcc7c Refactor consumer type methods for readability cd1202ea Bump os-traits to latest 2.6.0 edb09c5f Switch ConsumerType to use an AttributeCache 37721325 Microversion 1.38: API support for consumer types b1f3dd39 Add consumer_types migration, database and object changes 3253e2ef placement-status: check only consumers in allocation table 61620891 Fix SQL query counting the number of individual consumers having allocations by only selecting the aggregated consumer_id column. 36616700 Bump os-resource-classes requirements 00795f31 Add support for RP re-parenting and orphaning 4fa74c24 Move placement specs from nova 5a3bc370 Fix oslo policy DeprecatedRule warnings f77a7f99 Bump os-resource-classes deps to 1.0.0 024133eb [doc] Redirect people to #openstack-nova 5fd570d6 Fix webchat link in the doc 0e970d71 Update doc after freenode -> OFTC move a0749aec Add periodic-stable-jobs template 680182dd Adapt to SQLAlchemy 1.4 2150dbf6 Add weekly jobs 992dd6a7 Make sure the policy upgrade check get a valid config 2316f95a Add 'cryptography' package to test-requirements.txt 9ea3d9b2 Add a reproduction test for bug story/2008831 6f00ba5f Add Python3 xena unit tests 48b9d6f2 Update master for stable/wallaby ba8228eb Correctly handle integrity errors on MySQL 8.x fcb76137 Move policy deprecation to base rules 8c01d336 Remove unused test helper Diffstat (except docs and test files) ------------------------------------- .gitreview | 1 + .zuul.yaml | 13 +- api-ref/source/allocations.inc | 27 +- api-ref/source/parameters.yaml | 53 ++- api-ref/source/reshaper.inc | 3 +- .../samples/allocations/get-allocations-1.38.json | 22 ++ .../manage-allocations-request-1.38.json | 41 +++ .../update-allocations-request-1.38.json | 20 ++ .../samples/reshaper/post-reshaper-1.38.json | 71 ++++ api-ref/source/samples/usages/get-usages-1.38.json | 22 ++ api-ref/source/usages.inc | 24 +- .../xena/approved/allow-provider-re-parenting.rst | 242 ++++++++++++++ .../specs/xena/approved/support-consumer-types.rst | 358 +++++++++++++++++++++ lower-constraints.txt | 11 +- placement/attribute_cache.py | 37 +++ placement/cmd/status.py | 26 +- placement/context.py | 1 + .../422ece571366_add_consumer_types_table.py | 57 ++++ placement/db/sqlalchemy/models.py | 15 + placement/exception.py | 8 + placement/handlers/allocation.py | 115 +++++-- placement/handlers/reshaper.py | 47 ++- placement/handlers/resource_provider.py | 25 +- placement/handlers/usage.py | 35 +- placement/handlers/util.py | 218 +++++++++---- placement/microversion.py | 11 + placement/objects/allocation.py | 15 +- placement/objects/consumer.py | 13 +- placement/objects/consumer_type.py | 69 ++++ placement/objects/resource_provider.py | 133 +++++--- placement/objects/usage.py | 117 ++++++- placement/policies/aggregate.py | 20 -- placement/policies/allocation.py | 42 --- placement/policies/allocation_candidate.py | 14 - placement/policies/base.py | 48 ++- placement/policies/inventory.py | 47 +-- placement/policies/reshaper.py | 13 - placement/policies/resource_class.py | 47 +-- placement/policies/resource_provider.py | 47 +-- placement/policies/trait.py | 56 ---- placement/policies/usage.py | 23 +- placement/rest_api_version_history.rst | 33 ++ placement/schemas/allocation.py | 15 + placement/schemas/common.py | 2 + placement/schemas/reshaper.py | 5 + placement/schemas/usage.py | 17 + .../gabbits/allocations-legacy-rbac.yaml | 20 +- .../functional/gabbits/allocations-policy.yaml | 4 +- .../gabbits/allocations-secure-rbac.yaml | 20 +- .../functional/gabbits/consumer-types-1.38.yaml | 265 +++++++++++++++ .../gabbits/consumer-types-bug-story-2009167.yaml | 33 ++ .../gabbits/resource-classes-legacy-rbac.yaml | 2 +- .../gabbits/resource-classes-policy.yaml | 2 +- .../gabbits/resource-classes-secure-rbac.yaml | 4 +- .../functional/gabbits/resource-provider.yaml | 66 +++- .../notes/consumer_type-857b812aef10381e.yaml | 18 ++ .../re-parenting-providers-94dcedff45b35bf7.yaml | 5 + releasenotes/source/index.rst | 1 + releasenotes/source/wallaby.rst | 6 + requirements.txt | 6 +- test-requirements.txt | 1 + tox.ini | 2 +- 79 files changed, 2989 insertions(+), 577 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 0a01ec46..1986a681 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20 +20 @@ oslo.db>=4.40.0 # Apache-2.0 -oslo.policy>=3.6.0 # Apache-2.0 +oslo.policy>=3.7.0 # Apache-2.0 @@ -24,2 +24,2 @@ oslo.upgradecheck>=1.3.0 # Apache-2.0 -os-resource-classes>=0.5.0 # Apache-2.0 -os-traits>=2.5.0 # Apache-2.0 +os-resource-classes>=1.1.0 # Apache-2.0 +os-traits>=2.6.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index bbcc35ff..29383c0d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -21,0 +22 @@ gabbi>=1.35.0 # Apache-2.0 +cryptography>=2.7
participants (1)
-
no-reply@openstack.org