Always enable application credentials Identity tests

The feature is enabled since Queens, so turn on the testing by default
and deprecate the option.

Change-Id: I9b40642365d6f9f65cac19a2c69ad4ff39246cd7
This commit is contained in:
Luigi Toscano 2021-08-10 01:04:56 +02:00
parent 027a27c65d
commit 18a10b14a4
2 changed files with 22 additions and 4 deletions

View File

@ -0,0 +1,17 @@
---
upgrade:
- |
Application credentials are supported by Keystone since Queens.
As Tempest currently supports only much newer OpenStack versions
(Ussuri or later), the configuration option which enables
application credentials testing
(``CONF.identity-feature-enabled.application_credentials``)
is now enabled by default.
deprecations:
- |
Application credentials are supported by Keystone since Queens.
As Tempest currently supports only much newer OpenStack versions
(Ussuri or later), the configuration option which enables
application credentials testing
(``CONF.identity-feature-enabled.application_credentials``)
is now deprecated.

View File

@ -261,12 +261,13 @@ IdentityFeatureGroup = [
cfg.BoolOpt('project_tags',
default=False,
help='Is the project tags identity v3 API available?'),
# Application credentials is a default feature in Queens. This config
# option can removed once Pike is EOL.
cfg.BoolOpt('application_credentials',
default=False,
default=True,
help='Does the environment have application credentials '
'enabled?'),
'enabled?',
deprecated_for_removal=True,
deprecated_reason='Application credentials is a default '
'feature since Queens'),
# Access rules for application credentials is a default feature in Train.
# This config option can removed once Stein is EOL.
cfg.BoolOpt('access_rules',