From 18a10b14a4a608bfc81267dd12a52bc09228cb71 Mon Sep 17 00:00:00 2001 From: Luigi Toscano Date: Tue, 10 Aug 2021 01:04:56 +0200 Subject: [PATCH] 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 --- ...pplication_credentials-1d4eaef4c3c9dcba.yaml | 17 +++++++++++++++++ tempest/config.py | 9 +++++---- 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 releasenotes/notes/deprecate-and-enable-identity-application_credentials-1d4eaef4c3c9dcba.yaml diff --git a/releasenotes/notes/deprecate-and-enable-identity-application_credentials-1d4eaef4c3c9dcba.yaml b/releasenotes/notes/deprecate-and-enable-identity-application_credentials-1d4eaef4c3c9dcba.yaml new file mode 100644 index 0000000000..4b31ff80d7 --- /dev/null +++ b/releasenotes/notes/deprecate-and-enable-identity-application_credentials-1d4eaef4c3c9dcba.yaml @@ -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. diff --git a/tempest/config.py b/tempest/config.py index 3a497cb3c0..fde52e472d 100644 --- a/tempest/config.py +++ b/tempest/config.py @@ -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',