Deprecate import_image

This option was added because of a known issue in WSGI mode[1] which
was fixed during Vicotria release. Now the latest tempest supports Zed
and later we can start removing the option.

[1] https://bugs.launchpad.net/glance/+bug/1888713

Change-Id: Id75c7f5846575fba7e2494bc3182ce65b0892c47
This commit is contained in:
Takashi Kajinami 2024-04-13 00:13:55 +09:00
parent 9fcc4a3ffb
commit 8512946216
2 changed files with 18 additions and 5 deletions

View File

@ -0,0 +1,12 @@
---
upgrade:
- |
Default value of the ``[image-feature-enabled] image_import`` has been
changed from ``False`` to ``True``, and now the image import feature is
tested by default.
deprecations:
- |
The ``[image-feature-enabled] image_import`` option has been deprecated.
The image import feature works in both standalone mode and WSGI mode since
Victoria and the image import feature can be always tested.

View File

@ -684,12 +684,13 @@ ImageFeaturesGroup = [
'are current one. In future, Tempest will '
'test v2 APIs only so this config option '
'will be removed.'),
# Image import feature is setup in devstack victoria onwards.
# Once all stable branches setup the same via glance standalone
# mode or with uwsgi, we can remove this config option.
cfg.BoolOpt('import_image',
default=False,
help="Is image import feature enabled"),
default=True,
help="Is image import feature enabled",
deprecated_for_removal=True,
deprecated_reason='Issue with image import in WSGI mode was '
'fixed in Victoria, and this feature works '
'in any deployment architecture now.'),
cfg.BoolOpt('os_glance_reserved',
default=True,
help="Should we check that os_glance namespace is reserved",