We enthusiastically announce the release of: glance 19.0.0: OpenStack Image Service This release is part of the train 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. 19.0.0 ^^^^^^ Prelude ******* Train release includes multiple important milestones in Glance development priorities. * Stabilization of multi-store feature; from Train onwards multi- store is considered stable feature in glance, glance_store and python- glanceclient. The community encourages everyone to adopt this new way of configuring backend stores at earliest convenience as the old configuration options are deprecated for removal to ease the burden of maintaining underlying code. Users are able to select the store they want their images to be stored during import process. * "glance-cache-manage" and precaching is back; during the cycle we fixed issues that caused cache management being impossible. The prefetcher code was moved into glance-api to break the dependency to glance-registry and does not run under cron anymore. * Documentation examples were changed from "openstack" commands back to "glance". This should help avoid the frustration of glance- community maintaining different client than what is referred in examples. 'python-glanceclient' is and will be the reference implementation of Images API and the team will implement all API changes to the relevant client version of the cycle as well. * This release also bumps the Images API CURRENT version to 2.9 Bug Fixes ********* * * Bug 1808868: Add SEV-related extra spec and image properties * Bug 1802587: Make location API compatible with multiple store (https://code.launchpad.net/bugs/1808868) (https://code.launchpad.net/bugs/1802587) Changes in glance 18.0.0..19.0.0 -------------------------------- f87464e0 Train final release notes 509d0757 Imported Translations from Zanata 26f63dba Update TOX/UPPER_CONSTRAINTS_FILE for stable/train c7e7821d Update .gitreview for stable/train 515412b5 Set API version 2.9 CURRENT 6dba83ba Rethinking filesystem access 0cefe020 Refresh Glance example configs for Train 82697983 Use `glance` as example in docs instead of osc 35ef778e Revert skipped functional tests e5435bb7 Add support for oslo.reports da29e129 Revert "Add reserved stores to the sample config file" 4ae92bdd Revert "Correct the deprecation messages of local dir config" f87c9ee5 Fix DeprecationWarning: invalid escape sequence 09dcdadf Add Train milestone 3 releasenotes d9546dce Images API version bump and config sync b639ed08 Correct the deprecation messages of local dir config 3a281b9b Add SEV-related extra spec and image properties defc0104 Add release notes for secret key deletion 73fefddd Add periodic job to prefetch images into cache 64d14d32 Blacklist eventlet 0.23.0, 0.25.0 b190a39a Delete secret key on image deletion c3e0b843 Add disk format content from Image Guide e5690fcb Release note for 'compressed' container format 43aa0479 Add 'compressed' option to container_format 6e525647 Fix INSTR not supported for postgresql aca6996e Adding member to image fails for multiple stores 3fda53c5 MultiStore: Lazy update fails if image is not owned by owner 5bdefff5 add metadef vlaues for new video models 2998c795 add hw_pmu metadef f5283d8b Updating Ceph 404 URLs 4e070fd6 Make location API compatible with multiple store 0e5984ed Lazy update stores information 0e55ad71 Change location metadata key 'backend' to 'store' 4265e61b Add reserved stores to the sample config file 915ac7ea Multiple backend support for scrubber b4e3cb65 Add migration script to change backend to store a2cb3cd2 Skip tests to avoid trouble releasing store 1.0.0 15609a11 Update api-ref location 7f74a923 Image deletion returns 500 if 'file' store is not enabled b7e9db70 Dropping the py35 testing d319acbd Update the glance installation page d4d045f3 Bump openstackdocstheme to 1.20.0 f6a93866 Do not use glance_store 0.29.0 3264e779 Remove glance-registry stuff 5cab93f8 Modify the url of upper_constraints_file 3c57b786 Bring py27 tests back a26e7a3b MultiStore: Avoid potential KeyError in functional tests fd6f2fa0 Blacklist sphinx 2.1.0 (autodoc bug) 693f52f8 Add glance_store tips to experimental jobs 0182868b Unit tests fails with new glance_store version 0.29.0 90bffdc3 Update hw_rng_model image property doc be13eb05 Remove additional " from config help 6537ff21 Update v2/info/stores api-ref f9302881 Mark http store read-only in discovery call 7dea25d8 Update sphinx dependency 8aea3640 Don't target broken ssl tests to specific py3.minor ceba6db6 Added powervm as hypervisor type for image metadata prefiltering. 8e16e3a8 Replace git.openstack.org URLs with opendev.org URLs 305efc5c OpenDev Migration Patch a26019c2 Pass kwargs to exception to get better format of error message ee11c5d5 Use YAML anchor to avoid repeating irrelevant files 0c9a419d Switch to using stestr b59dc8d0 add libpq-dev to build psycopg2 9834253f Uncap jsonschema e4fd4d84 Update CLI doc header for Stein 8e957bff Update cache-manage documentation 957d116f Handle collections.abc deprecations cae8e682 Quiesce assertAlmostEquals deprecation warning 84c8f9e3 Quiece 'invalid escape sequence' deprecation msg 6a043815 Quiesce assertRaisesRegexp deprecation messages 79e4adaf Periodic jobs are failing for python 3.5 8fe78170 Windows: fix flaky tests b029f420 Replace openstack.org git:// URLs with https:// 117cecfb Imported Translations from Zanata 684da5f0 Add more irrelevant-files for integrated test jobs 03539b7f Separate out configuration tests ea08a005 Update master for stable/stein 40ef12e9 Add irrelevant-files for integrated test jobs b46d2d98 Migrate glance-dsvm-grenade-multinode job to Ubuntu Bionic 3f18940d Document os_shutdown_timeout image property a08a88b0 fix a typo in docstring Diffstat (except docs and test files) ------------------------------------- .gitreview | 3 +- .zuul.yaml | 208 +- README.rst | 2 +- api-ref/source/v2/discovery-parameters.yaml | 15 +- api-ref/source/v2/discovery.inc | 7 +- .../samples/metadef-namespaces-list-response.json | 2 +- .../source/v2/samples/stores-list-response.json | 13 +- api-ref/source/versions/index.rst | 6 + .../versions/samples/image-versions-response.json | 14 +- bindep.txt | 1 + etc/glance-api.conf | 277 +- etc/glance-cache.conf | 102 +- etc/glance-manage.conf | 10 - etc/glance-registry.conf | 73 +- etc/glance-scrubber.conf | 112 +- etc/metadefs/compute-hypervisor.json | 3 +- etc/metadefs/compute-libvirt-image.json | 41 +- etc/metadefs/compute-libvirt.json | 6 + etc/metadefs/compute-vcputopology.json | 2 +- etc/schema-image.json | 12 + glance/api/authorization.py | 22 + glance/api/common.py | 2 +- glance/api/middleware/version_negotiation.py | 1 + glance/api/policy.py | 10 +- glance/api/v2/discovery.py | 6 + glance/api/v2/image_data.py | 44 +- glance/api/v2/images.py | 85 +- glance/api/versions.py | 5 +- .../async_/flows/_internal_plugins/web_download.py | 28 +- glance/async_/flows/api_image_import.py | 70 +- glance/async_/flows/base_import.py | 43 +- glance/async_/flows/convert.py | 8 +- glance/async_/flows/ovf_process.py | 8 +- glance/async_/taskflow_executor.py | 4 +- glance/async_/utils.py | 2 +- glance/cmd/api.py | 13 +- glance/cmd/registry.py | 3 + glance/cmd/scrubber.py | 12 +- glance/common/config.py | 5 +- glance/common/scripts/api_image_import/main.py | 4 +- glance/common/store_utils.py | 48 +- glance/common/utils.py | 2 +- glance/common/wsgi.py | 53 +- glance/common/wsgi_app.py | 16 +- glance/db/migration.py | 4 +- .../train_migrate01_backend_to_store.py | 55 + .../versions/train_contract01_empty.py | 25 + .../versions/train_expand01_empty.py | 30 + glance/db/sqlalchemy/metadata.py | 2 +- glance/db/sqlalchemy/migrate_repo/README | 2 +- glance/domain/__init__.py | 14 +- glance/hacking/checks.py | 4 +- glance/image_cache/prefetcher.py | 51 +- glance/locale/de/LC_MESSAGES/glance.po | 37 +- glance/locale/en_GB/LC_MESSAGES/glance.po | 72 +- glance/location.py | 33 +- glance/quota/__init__.py | 2 +- glance/scrubber.py | 2 +- .../db/migrations/test_train_migrate01.py | 140 + .../{unit => gate}/test_data_migration_version.py | 0 glance/version.py | 1 + lower-constraints.txt | 7 +- .../legacy/glance-dsvm-grenade-multinode/run.yaml | 8 +- .../notes/Train-milestone3-be5520106a182fa0.yaml | 18 + .../add-compressed-format-185e537187a202bd.yaml | 60 + ...n-secret-deletion-support-40cffa5ffa33447e.yaml | 40 + ...tore-support-for-scrubber-6b360394ef32774a.yaml | 17 + ...hinking-filesystem-access-120bc46064b3d40a.yaml | 55 + .../notes/train-final-e09f3fe40592a478.yaml | 34 + .../train-metadefs-changes-c4380754cdd13a19.yaml | 23 + releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 2968 -------------------- .../source/locale/ja/LC_MESSAGES/releasenotes.po | 2304 --------------- .../locale/ko_KR/LC_MESSAGES/releasenotes.po | 342 --- releasenotes/source/stein.rst | 6 + requirements.txt | 9 +- test-requirements.txt | 5 +- tox.ini | 54 +- 130 files changed, 3090 insertions(+), 6869 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index eef2c9aa..837fd280 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10 +10 @@ SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT -eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT +eventlet!=0.23.0,!=0.25.0,>=0.22.0 # MIT @@ -34 +34 @@ Paste>=2.0.2 # MIT -jsonschema<3.0.0,>=2.6.0 # MIT +jsonschema>=2.6.0 # MIT @@ -43,0 +44 @@ oslo.middleware>=3.31.0 # Apache-2.0 +oslo.reports>=1.18.0 # Apache-2.0 @@ -50 +51 @@ osprofiler>=1.4.0 # Apache-2.0 -glance-store>=0.26.1 # Apache-2.0 +glance-store>=1.0.0 # Apache-2.0 @@ -60,0 +62,2 @@ os-win>=3.0.0 # Apache-2.0 + +castellan>=0.17.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 9c754489..181828d6 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -16 +16,2 @@ mock>=2.0.0 # BSD -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD @@ -24 +25 @@ oslotest>=3.2.0 # Apache-2.0 -os-testr>=1.0.0 # Apache-2.0 +stestr>=2.0.0 # Apache-2.0