@@ -87,9 +87,6 @@ TEMPEST_SERVICES=""
87
87
# Set the default Nova APIs to enable
88
88
NOVA_ENABLED_APIS=ec2,osapi_compute,metadata
89
89
90
- # Configure Identity API version: 2.0, 3
91
- IDENTITY_API_VERSION=2.0
92
-
93
90
# Whether to use 'dev mode' for screen windows. Dev mode works by
94
91
# stuffing text into the screen windows so that a developer can use
95
92
# ctrl-c, up-arrow, enter to restart the service. Starting services
@@ -106,6 +103,22 @@ elif [[ -f $RC_DIR/.localrc.auto ]]; then
106
103
source $RC_DIR /.localrc.auto
107
104
fi
108
105
106
+ # Configure Identity API version: 2.0, 3
107
+ IDENTITY_API_VERSION=${IDENTITY_API_VERSION:- 2.0}
108
+
109
+ # Set the option ENABLE_IDENTITY_V2 to True. It defines whether the DevStack
110
+ # deployment will be deploying the Identity v2 pipelines. If this option is set
111
+ # to ``False``, DevStack will: i) disable Identity v2; ii) configure Tempest to
112
+ # skip Identity v2 specific tests; and iii) configure Horizon to use Identity
113
+ # v3. When this option is set to ``False``, the option IDENTITY_API_VERSION
114
+ # will to be set to ``3`` in order to make DevStack register the Identity
115
+ # endpoint as v3. This flag is experimental and will be used as basis to
116
+ # identify the projects which still have issues to operate with Identity v3.
117
+ ENABLE_IDENTITY_V2=$( trueorfalse True ENABLE_IDENTITY_V2)
118
+ if [ " $ENABLE_IDENTITY_V2 " == " False" ]; then
119
+ IDENTITY_API_VERSION=3
120
+ fi
121
+
109
122
# Enable use of Python virtual environments. Individual project use of
110
123
# venvs are controlled by the PROJECT_VENV array; every project with
111
124
# an entry in the array will be installed into the named venv.
0 commit comments