We are happy to announce the release of: glance 31.0.0 This release is part of the flamingo 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. 31.0.0 ^^^^^^ Upgrade Notes * The following metadata definitions have been modified in the Flamingo release: * Added "hw_memory_encryption_model" enumerations in the "OS::Compute::Libvirt" namespace. You may upgrade these definitions using: "glance-manage db load_metadefs [--path <path>] [--merge] [--prefer_new]" Changes in glance 30.0.0..31.0.0 -------------------------------- 309e9356a Add new metadata definition of memory encryption model 1d7fdb3ef glance-multistore-cinder-import-fips: move to CentOS 10 13b3c7283 Fix inaccurate usage reporting when delayed_delete is enabled b038f5728 Fix broken osprofiler call for sqlalchemy e40759c15 Fix: Policy for new location APIs df0d0aad8 Update API reference to mention x-openstack-image-size header 62a323aed Read image size from request header 37c68c9db Drop SQLALCHEMY_WARN_20 4653c3e33 Remove LegacyEngineFacade 27bfd6f2d Get rid of thin wrapper of LimitFixture 4bc50f7a2 Replaced usage outdate egrep to grep 0bdc50ba9 Replace oslo_utils.encodeutils.exception_to_unicode 63a9bd3db Drop redundant check of sqlite3 module availability 5793a28af Imported Translations from Zanata 456886e0e Fix py312 and py313 failing unit test 894927c12 Replace deprecated assertItemsEqual 5d7de144f Doc: Add info about backend_defaults section 8f5fef160 Remove glance-centralized-cache job ec28aa136 Functional tests migration a89c67c04 Enable Hash calculation for new location API 342ec4ed1 Functional test migration test_wsgi.py 952293992 Fix incomplete migration to datetime.fromtimestamp f84e4f012 Cancel hashing operation if image is deleted 1311d5fe2 Add task cancellation tracker utility dac9741c2 Remove Python 3.9 support e055873be Get ready for oslo.limit 2.7.0 7747b2d40 Functional tests migration of TestImageMultipleBackend faccbed1d Functional tests migration of image members tests efe5b005d Revert "Deprecate glance scrubber" 88936c199 Fix test_scrubber_restore_image intermittent failure 612c090be Remove leftover of scrubber from functional tests c2cf5509a Remove installation guide for openSUSE/SLES 35a198fc1 Remove unused method iso8601_from_timestamp 026ac68fe reno: Update master for unmaintained/2023.1 35b44eaf8 Functional tests migration test_images e8da73973 Functional tests migration test_images.TestImages 7e157405c Functional tests migration for metadef APIs d1d2f90c6 Update python versions for testing caac5fc12 Harden copy bust lock test 066069666 Refactor scrubber to remove use of eventlet 9daba76be Do not test standalone deployments any more d2c3e102f Update CLI doc header for 30.0.0 2b32a2e32 Change DB migration constant to 2025_2 df5f2b3c8 Fix vTPM metadefs. 02f894f7a Doc: add validation data for GET /v2/schemas/image 3ed84f79e Functional tests migration: test_healthcheck_middleware 609aa1746 Fix functional tests 8fbfec5d7 Remove outdated reference to data_api 5124f6ed8 Imported Translations from Zanata f6e4af38e Update master for stable/2025.1 8546ce00e Use pyenv for the periodic jobs running on Python 3.13 b5ab2311a Fix glance_download_properties config section name in the doc 5c1da616b Add cross project Ironic non voting job 3e2255f28 Core reviewer guidelines: add a note about translations b5a3075c8 Use common environment name for ostestr testpath 01686b80f Functional test migration: test_tasks.py 7194b038b Functional tests migration: test_schemas.py e0818db7f Functional tests migration: test_sqlite.py 334cdd90c Drop environments for Python 3.8 20e1fee58 Replace links to HypervisorSupportMatrix 2f1ff005e Add note about requirements lower bounds 2d55b08ea cinder: Replace remaining reference to volume v2 API Diffstat (except docs and test files) ------------------------------------- .stestr.conf | 2 +- .zuul.yaml | 56 +- api-ref/source/v2/images-data.inc | 8 + api-ref/source/v2/images-import.inc | 8 + api-ref/source/v2/images-parameters.yaml | 10 + .../samples/metadef-namespaces-list-response.json | 2 +- .../v2/samples/schemas-image-show-response.json | 25 + .../contributor/core_reviewer_guidelines.rst | 3 + etc/metadefs/compute-libvirt-image.json | 2 +- etc/metadefs/compute-libvirt.json | 13 +- etc/metadefs/compute-vmware-quota-flavor.json | 2 +- etc/metadefs/compute-vmware.json | 2 +- etc/metadefs/compute-vtpm-hw.json | 18 +- etc/metadefs/compute-xenapi.json | 2 +- glance/api/v2/image_data.py | 90 +- glance/api/v2/image_members.py | 6 +- glance/api/v2/image_tags.py | 6 +- glance/api/v2/images.py | 82 +- glance/api/v2/metadef_namespaces.py | 9 +- glance/api/v2/metadef_objects.py | 7 +- glance/api/v2/metadef_properties.py | 7 +- glance/api/v2/metadef_tags.py | 7 +- glance/api/v2/tasks.py | 11 +- .../flows/_internal_plugins/glance_download.py | 3 +- .../async_/flows/_internal_plugins/web_download.py | 3 +- glance/async_/flows/api_image_import.py | 8 +- glance/async_/flows/base_import.py | 21 +- glance/async_/flows/introspect.py | 4 +- glance/async_/flows/location_import.py | 42 +- glance/async_/flows/plugins/image_conversion.py | 7 +- glance/async_/flows/plugins/image_decompression.py | 17 +- glance/async_/taskflow_executor.py | 6 +- glance/async_/utils.py | 4 +- glance/cmd/api.py | 3 +- glance/cmd/cache_manage.py | 5 +- glance/cmd/manage.py | 2 +- glance/cmd/replicator.py | 7 +- glance/cmd/scrubber.py | 3 - glance/common/scripts/api_image_import/main.py | 6 +- glance/common/scripts/image_import/main.py | 6 +- glance/common/store_utils.py | 3 +- glance/common/timeutils.py | 8 - glance/common/wsgi.py | 6 +- glance/db/migration.py | 2 +- glance/db/sqlalchemy/api.py | 351 +- glance/db/sqlalchemy/metadata.py | 9 +- glance/db/sqlalchemy/models.py | 2 +- glance/image_cache/__init__.py | 5 +- glance/image_cache/drivers/xattr.py | 5 +- glance/locale/de/LC_MESSAGES/glance.po | 18 +- glance/locale/en_GB/LC_MESSAGES/glance.po | 50 +- glance/locale/es/LC_MESSAGES/glance.po | 74 +- glance/locale/fr/LC_MESSAGES/glance.po | 22 +- glance/locale/it/LC_MESSAGES/glance.po | 49 +- glance/locale/ja/LC_MESSAGES/glance.po | 54 +- glance/locale/ko_KR/LC_MESSAGES/glance.po | 38 +- glance/locale/pt_BR/LC_MESSAGES/glance.po | 43 +- glance/locale/ru/LC_MESSAGES/glance.po | 32 +- glance/locale/tr_TR/LC_MESSAGES/glance.po | 30 +- glance/locale/zh_CN/LC_MESSAGES/glance.po | 18 +- glance/locale/zh_TW/LC_MESSAGES/glance.po | 18 +- glance/location.py | 4 +- glance/notifier.py | 24 +- glance/opts.py | 2 +- glance/policies/base.py | 5 +- glance/quota/__init__.py | 3 +- glance/schema.py | 4 +- glance/scrubber.py | 91 +- glance/task_cancellation_tracker.py | 101 + .../functional/test_healthcheck_middleware.py | 68 +- .../functional/v2/test_images_import_locking.py | 14 +- .../functional/v2/test_metadef_resourcetypes.py | 100 +- .../unit/async_/flows/test_location_import.py | 95 +- playbooks/post-check-metadata-injection.yaml | 2 +- ...enstack-image-size-header-9199a5544274002a.yaml | 17 + .../notes/deprecate-scrubber-862c38e0d65557f3.yaml | 17 - .../flamingo-metadef-changes-413a952cf47927ce.yaml | 12 + .../notes/remove-py39-f18900baa110d451.yaml | 5 + releasenotes/source/2023.1.rst | 2 +- releasenotes/source/2025.1.rst | 6 + releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 35 +- .../source/locale/fr/LC_MESSAGES/releasenotes.po | 63 + requirements.txt | 4 + setup.cfg | 4 +- tools/test-setup.sh | 2 +- tox.ini | 28 +- 128 files changed, 6206 insertions(+), 8196 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 25231aae0..d5a2ebdf4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1,4 @@ +# Requirements lower bounds listed here are our best effort to keep them up to +# date but we do not test them so no guarantee of having them all correct. If +# you find any incorrect lower bounds, let us know or propose a fix. +
participants (1)
-
no-reply@openstack.org