From a6065a6be638681c22e18275714c56f508a41131 Mon Sep 17 00:00:00 2001 From: Ken'ichi Ohmichi Date: Fri, 3 Mar 2017 16:40:22 -0800 Subject: [PATCH] Change default of auth_version to v3 Keystone v3 API is CURRENT and the v2 API is deprecated now. So we need to change the default config of auth_version to fit for current API status. NOTE: Devstack changes this config to "v2" when enabling the v2 API. So we will still test the v2 API on the gate until we will change Devstack (I801e6740258ddea2a1b628a209970e0307d39d12) Change-Id: Id5e5ed9bf4f8b0f9eb376bfc7c5801f0956da1d9 --- releasenotes/notes/use-keystone-v3-api-935860d30ddbb8e9.yaml | 5 +++++ tempest/config.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/use-keystone-v3-api-935860d30ddbb8e9.yaml diff --git a/releasenotes/notes/use-keystone-v3-api-935860d30ddbb8e9.yaml b/releasenotes/notes/use-keystone-v3-api-935860d30ddbb8e9.yaml new file mode 100644 index 0000000000..dd6e92457e --- /dev/null +++ b/releasenotes/notes/use-keystone-v3-api-935860d30ddbb8e9.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - Tempest now defaults to using Keystone v3 API for the + authentication, because Keystone v3 API is CURRENT and + the v2 API is deprecated. diff --git a/tempest/config.py b/tempest/config.py index 651c32e56e..7f45cf4cad 100644 --- a/tempest/config.py +++ b/tempest/config.py @@ -133,7 +133,7 @@ IdentityGroup = [ cfg.StrOpt('uri_v3', help='Full URI of the OpenStack Identity API (Keystone), v3'), cfg.StrOpt('auth_version', - default='v2', + default='v3', help="Identity API version to be used for authentication " "for API tests."), cfg.StrOpt('region',