We eagerly announce the release of: glance 22.0.0: OpenStack Image Service This release is part of the wallaby release series. The source is available from: https://opendev.org/openstack/glance Download the package from: https://tarballs.openstack.org/glance/ Please report issues through: https://bugs.launchpad.net/glance/+bugs For more details, please see below. Changes in glance 21.0.0.0rc1..22.0.0 ------------------------------------- cf94c9aa Fix a typo in contributor docs f8551de8 Make some metadef operations admin-only aec2de7f Add a release note for secure RBAC personas 9c691b55 Wallaby milestone 3 release notes 80b84d4e Fix erroneous exit from copy wait loop 165cce6d Update the task policies 2b498e61 trivial: remove unnecessary grouping in base policies 4063d215 trivial: Fix minor grammatical issues in cache middleware dbab6640 Refresh Glance example configs for Wallaby milestone 3 31414b9f Implement project personas for image actions 81fea796 Fix test_cache_middleware ImageStub 8d694786 Add glance functional protection tests to check and gate 662607f4 Enable second glance worker for import testing 232177e6 Add housekeeping module and staging cleaner d8a63098 Add administrator docs for distributed-import 41e1cecb Distributed image import e9852fb6 Make functional tests set node_staging_uri bf838242 Fail to start if authorization and policy is misconfigured 782ff60c Add get_ksa_client() helper dbd74958 Add a test for migration naming and phase rules af3ce1ad Bump Images API version to 2.12 03696299 Update API docs for new /v2/images/{image_id}/tasks API 281fadc1 New API /v2/images/{id}/tasks d54449af Utilize newly added tasks database fields 8f7ad9f4 Extract req.context in a variable 6f20983f Expand tasks database table to add more columns e6755eba Pass oslo.context RequestContext objects directly to policy enforcement 198d5ab0 Properly handle InvalidScope exceptions b41fa3f6 Add basic/common personas to base policies 764f29a9 Bump requirements to prepare for secure RBAC 2bfdc87a Stop raising 403 when image is not found ed930ec5 Fix: cinder store test 7d8aa54c Cleanup remaining tenant terminology in glance API docs 81f8349c trivial: Fix a typo in devstack plugin.sh 7839ab09 Remove unused option "owner_is_tenant" 4b884b9e Uncap PrettyTable a3af0719 Make copy_image plugin use action wrapper 2e06864b Make inject_image_metadata use action wrapper b1e75788 Fix nonsensical test mocks and assertions e54a1a52 Allow plugins to mutate image extra_properties d2bb1252 Make image_conversion use action wrapper 050802dd Add missing fail case tests for image_conversion 5331f1e0 Make action wrapper support arbitrary properties cbb2af6e Make web-download revert all stores on fail 68646db3 Pass ImageActionWrapper to internal plugins 09b924c9 Add functional tests for cinder multiple store 2a120055 Add devstack plugin script 0a9faeec Add policy sample file in doc c107629f [goal] Deprecate the JSON formatted policy file 314e93ab Exclude os_glance namespace from property quota 0c45de3e Make os_glance namespace reserved 07951b09 Update docs and renos for os_glance reservation 03bf00ee Change database migration version to wallaby c7236a08 Fix upgrade checks for sheepdog 8a166d8e Tox.ini: add py39 4d9c7b57 Fix a typo in functional helper class f32d3923 Move some helper functions to base class c98c3965 Update version of doc8 73742be9 Imported Translations from Zanata 81c6d4d6 [Doc] Remove description about v1 api and glance-registry 8027d907 Replace md5 with oslo version 795dad76 Bump lower_constraints and requirements e26f9b40 Run nova-ceph-multistore only when tempest is ran ac2036fd Imported Translations from Zanata f102b74a Remove 'admin_role' option 1344c457 Adding gate job for glance cinder store 45749c30 Imported Translations from Zanata 0e3d2749 Bump Images API version to 2.11 b49c0424 Adjust jobs for devstack WSGI mode default 452fba2a Add Python3 wallaby unit tests f2a90803 Update master for stable/victoria Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 70 +- api-ref/source/v2/images-images-v2.inc | 51 +- api-ref/source/v2/images-parameters.yaml | 6 + api-ref/source/v2/images-sharing-v2.inc | 24 +- api-ref/source/v2/metadefs-index.rst | 4 + .../v2/samples/image-tasks-show-response.json | 37 + devstack/plugin.sh | 41 + etc/glance-api.conf | 150 ++-- etc/glance-cache.conf | 51 +- etc/glance-scrubber.conf | 51 +- glance/api/common.py | 1 + glance/api/middleware/cache.py | 10 + glance/api/middleware/context.py | 70 -- glance/api/middleware/version_negotiation.py | 3 + glance/api/policy.py | 180 +++- glance/api/v2/image_data.py | 12 +- glance/api/v2/images.py | 204 ++++- glance/api/v2/router.py | 5 + glance/api/v2/tasks.py | 37 +- glance/api/versions.py | 6 +- .../async_/flows/_internal_plugins/copy_image.py | 23 +- .../async_/flows/_internal_plugins/web_download.py | 24 +- glance/async_/flows/api_image_import.py | 65 +- glance/async_/flows/plugins/image_conversion.py | 36 +- .../async_/flows/plugins/inject_image_metadata.py | 17 +- glance/cmd/api.py | 8 + glance/cmd/status.py | 24 +- glance/common/config.py | 54 +- glance/common/property_utils.py | 4 +- glance/common/removed_config.py | 34 + glance/common/wsgi.py | 8 +- glance/common/wsgi_app.py | 27 + glance/context.py | 33 +- glance/db/__init__.py | 9 + glance/db/migration.py | 4 +- glance/db/simple/api.py | 20 +- .../data_migrations/wallaby_migrate01_empty.py | 26 + .../versions/wallaby_contract01_empty.py | 24 + ...expand01_add_user_imageid_requestid_to_tasks.py | 39 + glance/db/sqlalchemy/api.py | 42 +- glance/db/sqlalchemy/models.py | 4 + glance/domain/__init__.py | 19 +- glance/domain/proxy.py | 3 + glance/housekeeping.py | 126 +++ glance/image_cache/__init__.py | 5 +- glance/locale/de/LC_MESSAGES/glance.po | 194 +---- glance/locale/en_GB/LC_MESSAGES/glance.po | 930 ++------------------- glance/locale/es/LC_MESSAGES/glance.po | 190 +---- glance/locale/fr/LC_MESSAGES/glance.po | 195 +---- glance/locale/it/LC_MESSAGES/glance.po | 188 +---- glance/locale/ja/LC_MESSAGES/glance.po | 187 +---- glance/locale/ko_KR/LC_MESSAGES/glance.po | 185 +--- glance/locale/pt_BR/LC_MESSAGES/glance.po | 189 +---- glance/locale/ru/LC_MESSAGES/glance.po | 186 +---- glance/locale/tr_TR/LC_MESSAGES/glance.po | 175 +--- glance/locale/zh_CN/LC_MESSAGES/glance.po | 175 +--- glance/locale/zh_TW/LC_MESSAGES/glance.po | 177 +--- glance/policies/base.py | 52 ++ glance/policies/image.py | 333 +++++++- glance/policies/metadef.py | 72 +- glance/policies/tasks.py | 87 +- glance/quota/__init__.py | 10 +- .../db/migrations/test_wallaby_expand01.py | 52 ++ .../functional/v2/test_images_import_locking.py | 65 -- .../v2/test_legacy_update_cinder_store.py | 255 ++++++ .../async_/flows/plugins/test_image_conversion.py | 149 +++- .../flows/plugins/test_inject_image_metadata.py | 54 +- .../unit/async_/flows/test_api_image_import.py | 129 ++- lower-constraints.txt | 61 +- ...son-formatted-policy-file-5cb692fe889eb52b.yaml | 20 + .../distributed-image-import-82cff4426731beac.yaml | 12 + ...d-policy-override-removed-52616c483a270bcf.yaml | 10 + .../notes/image-tasks-api-f21b42eab91c2079.yaml | 12 + ...adef-api-admin-operations-b9a2d863913b0cae.yaml | 9 + ...ance-injection-disallowed-5dad244dfb071938.yaml | 10 + ...glance-namespace-reserved-1fcb8a5fddca4e0f.yaml | 8 + .../notes/remove-admin_role-f508754e98331fc4.yaml | 6 + .../remove-owner_is_tenant-b30150def293effc.yaml | 9 + ...ure-rbac-project-personas-fb0d9792b9dc3783.yaml | 51 ++ .../wallaby-m3-releasenotes-bdc9fe6938aba8cc.yaml | 12 + releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 256 +++++- releasenotes/source/victoria.rst | 6 + requirements.txt | 32 +- setup.cfg | 2 +- test-requirements.txt | 7 +- tox.ini | 14 +- 142 files changed, 5687 insertions(+), 4342 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 374e8e42..0e43a7fb 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 @@ -16 +16 @@ sqlparse>=0.2.2 # BSD -alembic>=0.8.10 # MIT +alembic>=0.9.6 # MIT @@ -18 +18 @@ httplib2>=0.9.1 # MIT -oslo.config>=5.2.0 # Apache-2.0 +oslo.config>=8.1.0 # Apache-2.0 @@ -20,3 +20,3 @@ oslo.concurrency>=3.26.0 # Apache-2.0 -oslo.context>=2.19.2 # Apache-2.0 -oslo.upgradecheck>=0.1.0 # Apache-2.0 -oslo.utils>=3.33.0 # Apache-2.0 +oslo.context>=2.22.0 # Apache-2.0 +oslo.upgradecheck>=1.3.0 # Apache-2.0 +oslo.utils>=4.7.0 # Apache-2.0 @@ -25 +25 @@ futurist>=1.2.0 # Apache-2.0 -taskflow>=2.16.0 # Apache-2.0 +taskflow>=4.0.0 # Apache-2.0 @@ -27 +27 @@ keystoneauth1>=3.4.0 # Apache-2.0 -keystonemiddleware>=4.17.0 # Apache-2.0 +keystonemiddleware>=5.1.0 # Apache-2.0 @@ -29 +29 @@ WSME>=0.8.0 # MIT -PrettyTable<0.8,>=0.7.1 # BSD +PrettyTable>=0.7.1 # BSD @@ -37 +37 @@ pyOpenSSL>=17.1.0 # Apache-2.0 -six>=1.10.0 # MIT +six>=1.11.0 # MIT @@ -40,2 +40,2 @@ oslo.db>=5.0.0 # Apache-2.0 -oslo.i18n>=3.15.3 # Apache-2.0 -oslo.log>=3.36.0 # Apache-2.0 +oslo.i18n>=5.0.0 # Apache-2.0 +oslo.log>=4.3.0 # Apache-2.0 @@ -45 +45 @@ oslo.reports>=1.18.0 # Apache-2.0 -oslo.policy>=2.4.1 # Apache-2.0 +oslo.policy>=3.6.2 # Apache-2.0 @@ -54,2 +54,2 @@ glance-store>=2.3.0 # Apache-2.0 -debtcollector>=1.2.0 # Apache-2.0 -cryptography>=2.1 # BSD/Apache-2.0 +debtcollector>=1.19.0 # Apache-2.0 +cryptography>=2.6.1 # BSD/Apache-2.0 @@ -61 +61 @@ iso8601>=0.1.11 # MIT -os-win>=3.0.0 # Apache-2.0 +os-win>=4.0.1 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 7e833fbe..f47cd696 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15 +15 @@ fixtures>=3.0.0 # Apache-2.0/BSD -requests>=2.14.2 # Apache-2.0 +requests>=2.18.0 # Apache-2.0 @@ -23 +23 @@ stestr>=2.0.0 # Apache-2.0 -doc8>=0.6.0 # Apache-2.0 +doc8>=0.8.1 # Apache-2.0 @@ -32,0 +33,3 @@ python-swiftclient>=3.2.0 # Apache-2.0 +python-cinderclient>=4.1.0 # Apache-2.0 +os-brick>=3.1.0 +oslo.privsep>=1.32.0
participants (1)
-
no-reply@openstack.org