openstack-placement 1.0.0 (stein)
We are jazzed to announce the release of: openstack-placement 1.0.0: Resource provider inventory usage and allocation service This release is part of the stein release series. The source is available from: https://git.openstack.org/cgit/openstack/placement Download the package from: https://pypi.org/project/openstack-placement Please report issues through: https://storyboard.openstack.org/#!/project/openstack/placement For more details, please see below. Changes in openstack-placement 0.1.0..1.0.0 ------------------------------------------- 6722d066 Document alloc-candidates-in-tree b4492bcc Fix debug log getting allocation_candidates bbd90ca2 Replace openstack.org git:// URLs with https:// 0c9b38a8 Add register_opts param to PlacementFixture 60efe8ac Update UPPER_CONSTRAINTS_FILE for stable/stein de7c123c Update .gitreview for stable/stein 083451cd Group API versions by release 8d425a87 Flesh out the post-install verify doc 5d0f875c Address followups in the upgrade from nova doc 912b35b6 Fix bullet format from I580fa4394cb93b8e8141ee2d546543c174356a47 b7f345cb Link to more info on service user and endpoints from deployment 112d44aa Add prelude to release notes 1a620ba2 Upgrade from rocky-nova docs 057dc238 Update the from-pypi install instructions c32d5a38 Rename and restructure install docs b6479196 Centralize registration of logging options 94e99020 Add oslo.log to genconfig af99d9e4 Slightly improve usage documentation 6fb4d487 Update install docs for single database 3a46b446 Reuse common get_providers_with_resource() b66e6ff0 Get rid of backslash continuations in code 11a7782b Refactor tests of _get_trees_matching_all() a90b62d6 Note removal of OVO in contrib docs c9f5c48b Create ProviderTreeDBHelperTestCase dd332038 Move TestAllocation into test_allocation fbf95109 Extract user and endpoint creation install doc 2e2cb183 Remove unused table constants from allocation_candiate.py 0a2a611d Move set_traits tests back to test_resource_provider a53aef47 Remove ResourceProviderList class f23137be Remove InventoryList class ca3ade76 Move Inventory and InventoryList to own file 275fb28c Reorder classes and methods in allocation_candidate 0f0d80b6 Move allocation candidate classes and methods 580cc15d Remove the TraitList class 07088532 Update get trait and traits calls that were writers to reader 5cf552ef Move Trait and TraitList to own module a844d97f Clean up the intro to the REST API section ee27e3b1 Clean up around links to database migrations scripts 18a80b4e Indicate existince of `sync_on_startup` option def5159f Link to install docs from deployment overview 3414f384 Remove NAME in placement/deploy.py 871b15ef Make policy init more threadsafe 98f722a6 Be explicit about which conf is being used by policy enforcer ce158923 Rename global _ENFORCER_PLACEMENT to _ENFORCER 2588c7b8 Update docs bug links to storyboard b895b02c Update CONTRIBUTING and HACKING 69b9659a Remove extraction warning from README c70533f3 Update bug tracker link in README and CONTRIBUTING adc8a642 Add missing ws seperator between words b24a1b97 Do not separately configure logging for alembic 65da83ae Use sync_on_startup in placement-perfload job 5a667c1f Trivial: Update doc for _set_traits() ba328870 Remove the ResourceClassList class 7964cd9c Move ResourceClass and ResourceClassList to own module 9f452f6f Trivial: pull _normalize_trait_map() out a6002659 Use oslo_utils.excutils for reraise exception aa2c1442 Add explicit short-circuit in get_all_by_consumer_id 9de5da48 Stop yelling the 1.11 and 1.25 microversion history at people 849c89d0 Remove pep8 whitespace ignores fed468a1 Fix typo in db-auto-sync release note c04a107e Make the PlacementFixture usable without intercept 531b68fb Docs: extract testing info to own sub-page 995464ab Inline Consumer.increment_generation() 2808f562 Use native list for lists of Allocation 322c6f5b Move Allocation and AllocationList to own module c4b0d844 ResourceProvider.increment_generation() 664d9348 Move reshape() into placement.objects.reshaper a0c109d0 Make base test case file for object unit tests e608e415 Use native list for lists of Usage 763fe86f Move RC_CACHE in resource_class_cache f5a1a6d9 Clean up ObjectList._set_objects signature 22a3dd29 Move *List.__repr__ into ObjectList 8a68c978 Move _set_objects into ObjectList 617d1f07 Factor listiness into an ObjectList base class f6055436 Adds debug log in allocation candidates cf7dc9d6 Refactor _get_trees_matching_all() a6f02857 Retry new transaction on failure 0d0c4794 FUPs for improve-debug-log series 39871109 Remove NOTEs about _RE_INV_IN_USE 0ad690ad Use set instead of list 29b3b0f6 Remove redundant second cast to int bed7808b Don't use OVO with ResourceProvider and ResourceProviderList ca73e853 Cast Usage.usage to int d2448ccf Test for multiple limit/group_policy qparams fbc69408 Add second shared provider to SharedStorageFixture da36ad16 Optionally migrate database at service startup ce10de2a in_tree[N] alloc_cands with microversion 1.31 e7f3b1d5 Prepare in_tree allocation candidates a3c3370f Fix a bad granular gabbi test dcb35905 Add DISK_GB to compute in SharedStorageFixture ac571233 Adds check for duplicate alloc_cands 75555e7e Don't use OVO for Inventory and InventoryList dc4c7110 Don't use OVO in Trait and TraitList objects e4f3c76f Adds tests for granular single shared rp request f16637e4 Add a vision-reflection 3375cff2 Set timestamps in Allocation objects e822949b Don't use OVO in ResourceClass and ResourceClassList 3c8c2d75 Don't use OVO in User object 6f7342f4 Don't use OVO in Project object d4c3b880 Don't use OVO in Consumer object 1d0933f5 Don't use OVO for Usage and UsageList 7f7f2f41 Don't use OVO for Allocation and AllocationList d51dcaa8 Don't use OVO with allocation candidates bb3f73e7 Update the doc in _get_provider_ids_matching() a3d0ffb7 Downgrade os-traits/os-resource-classes sync log level to DEBUG 71a6aa21 Use one ConfigOpts in placement-status 0b8475db Use tox 3.1.1 fixes 9e5436ef tox: Don't write byte code (maybe) 530be3d3 Trivial: return empty set instead of list 7d0a37df Also time placeload when doing perfload 09c13182 Add upgrade status check for missing root ids 82fd23d8 Use local config for placement-status CLI f0caa12f Adjust database connection pool config in perfload tests 046b600c Increase loop size on _ensure_aggregate 4acab460 Update standard resource class counts in tests cd97d8b2 Update placement-status-checks history 271727ad Configure database api in upgrade check 0f97cebe Add upgrade status check for incomplete consumers 510b4848 Copy create_incomplete_consumers online data migration from nova c1983261 Set root_provider_id in the database 80fa5018 Add online-data-migration DB commands 15d79006 Placement install documentation 692fe587 Add release-notes-jobs-python3 job fca086e6 Trim the release notes to just stein/master a5c1049b Add provider UUID to reshaper gen conflict error 08201b88 Add irrelevant-files for integrated-gate-py35 jobs 289b44f5 Update the incorrect url 16b29024 Document API error codes 9628a590 Add irrelevant files list to perfload job d32daccb Add python3.7 unit test job Diffstat (except docs and test files) ------------------------------------- .gitreview | 1 + .zuul.yaml | 35 +- CONTRIBUTING.rst | 26 +- HACKING.rst | 31 - README.rst | 13 +- api-ref/source/allocation_candidates.inc | 2 + api-ref/source/conf.py | 5 +- api-ref/source/errors.inc | 69 + api-ref/source/index.rst | 1 + api-ref/source/parameters.yaml | 18 + api-ref/source/reshaper.inc | 3 + etc/placement/config-generator.conf | 1 + lower-constraints.txt | 19 +- placement/cmd/manage.py | 131 + placement/cmd/status.py | 102 +- placement/conf/__init__.py | 5 +- placement/conf/api.py | 6 +- placement/conf/database.py | 4 + placement/conf/opts.py | 6 +- placement/conf/paths.py | 10 +- placement/context.py | 2 +- placement/db/sqlalchemy/alembic.ini | 70 - placement/db/sqlalchemy/alembic/env.py | 10 - .../alembic/versions/b4ed3a175331_initial.py | 334 +- placement/db/sqlalchemy/models.py | 17 +- placement/db_api.py | 7 +- placement/deploy.py | 26 +- placement/direct.py | 4 +- placement/exception.py | 2 - placement/handler.py | 4 +- placement/handlers/allocation.py | 71 +- placement/handlers/allocation_candidate.py | 8 +- placement/handlers/inventory.py | 43 +- placement/handlers/reshaper.py | 18 +- placement/handlers/resource_class.py | 16 +- placement/handlers/resource_provider.py | 15 +- placement/handlers/trait.py | 20 +- placement/handlers/usage.py | 10 +- placement/handlers/util.py | 10 +- placement/lib.py | 22 +- placement/microversion.py | 2 + placement/objects/allocation.py | 621 ++++ placement/objects/allocation_candidate.py | 988 ++++++ placement/objects/consumer.py | 66 +- placement/objects/inventory.py | 103 + placement/objects/project.py | 24 +- placement/objects/reshaper.py | 113 + placement/objects/resource_class.py | 251 ++ placement/objects/resource_provider.py | 3244 +++----------------- placement/objects/rp_candidates.py | 99 + placement/objects/trait.py | 303 ++ placement/objects/usage.py | 79 + placement/objects/user.py | 24 +- placement/policy.py | 36 +- placement/requestlog.py | 20 +- placement/resource_class_cache.py | 15 + placement/rest_api_version_history.rst | 171 +- placement/schemas/allocation_candidate.py | 5 + placement/schemas/usage.py | 2 +- .../functional/db/test_allocation_candidates.py | 1326 ++++---- .../functional/gabbits/allocation-candidates.yaml | 288 +- .../gabbits/resource-classes-policy.yaml | 2 +- .../unit/objects/test_allocation_candidate.py | 61 + placement/util.py | 27 +- placement/wsgi.py | 3 +- playbooks/perfload.yaml | 19 +- .../alloc-candidates-in-tree-f69b0de5ba33096b.yaml | 20 + ...location-candidates-limit-37fe5c2ce57daf7f.yaml | 11 - ...ocation-candidates-traits-1adf079ed0c6563c.yaml | 10 - ...didates_support_member_of-92f7e1440ed63fe7.yaml | 13 - ...ved-equal-total-inventory-fe93584dd28c460d.yaml | 6 - ...granular-placement-policy-65722fc6d7cb1359.yaml | 31 - .../bp-symmetric-allocations-6ff7b270c32dcb7d.yaml | 11 - .../bug-1732000-log-options-6db2cc8c747145ca.yaml | 7 - .../consumer_generation-f576ac2594b24e2e.yaml | 18 - .../notes/db-auto-sync-e418f3f181958c7c.yaml | 10 + ...inventories-placement-api-13582910371308c4.yaml | 18 - ...potent-put-resource-class-dc7a267c823b7995.yaml | 10 - .../notes/multi-member-of-4f9518a96652c0c6.yaml | 20 - ...ers-allocation-candidates-66c1c5b0a3e93513.yaml | 11 - ...ment-aggregate-generation-9dad79fb0356fcc0.yaml | 10 - ...ent-allocation-candidates-1114a843755b93c4.yaml | 10 - ...in-get-resource-providers-0b1d26a264eceb4b.yaml | 6 - ...pi-endpoint-interface-set-29af8b9400ce7775.yaml | 9 - .../placement-api-member-of-d8a08d0d0c5700d7.yaml | 14 - .../notes/placement-cors-c7a83e8c63787736.yaml | 9 - .../notes/placement-database-2e087f379273535d.yaml | 24 - .../placement-error-code-fcbbf5d45560984e.yaml | 9 - ...lacement-forbidden-traits-ace037856aa29a09.yaml | 9 - ...tion-from-create-provider-203a0ac1ebfe64d9.yaml | 9 - ...ranular-resource-requests-944f9b73f306429f.yaml | 31 - ...te-consumer-configuration-b775dac1bcd34f9d.yaml | 11 - .../placement-last-modified-cf43aece4c54fc97.yaml | 10 - ...n-list-resource-providers-fab11cdb36cd3502.yaml | 12 - ...er-providers-by-resources-0ab51c9766fe654f.yaml | 19 - ...nested-resource-providers-552a923a96d7adca.yaml | 13 - ...t-custom-resource-classes-a3f2175772983b0a.yaml | 10 - ...ment-return-all-resources-bfc7e3f8b5151e28.yaml | 9 - .../placement-traits-api-efa17d46ea1b616b.yaml | 15 - .../notes/post-allocations-427581fa41671820.yaml | 6 - .../set_root_provider_id-53930a5d1dbd374f.yaml | 10 + .../notes/stein-prelude-779b0dbfe65cf9ac.yaml | 16 + ...heck-incomplete-consumers-3362d7db55dd8bdf.yaml | 6 + releasenotes/source/conf.py | 4 +- requirements.txt | 5 +- tox.ini | 44 +- 161 files changed, 9004 insertions(+), 8234 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 66fd1d85..b109c7c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24,3 +24,2 @@ oslo.middleware>=3.31.0 # Apache-2.0 -oslo.upgradecheck>=0.1.1 # Apache-2.0 -oslo.versionedobjects>=1.31.2 # Apache-2.0 -os-resource-classes>=0.1.0 # Apache-2.0 +oslo.upgradecheck>=0.2.0 # Apache-2.0 +os-resource-classes>=0.2.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org