Browse code

Always set the Heat deferred auth method

Otherwise in standalone mode we use the new default of "trusts"
which won't work.

Change-Id: If18db711faf7810217af0a89d1e38590a94d8e5b
Closes-bug: 1436631

Angus Salkeld authored on 2015/03/26 11:53:51
Showing 1 changed files
... ...
@@ -124,6 +124,8 @@ function configure_heat {
124 124
         setup_colorized_logging $HEAT_CONF DEFAULT tenant user
125 125
     fi
126 126
 
127
+    iniset $HEAT_CONF DEFAULT deferred_auth_method $HEAT_DEFERRED_AUTH
128
+
127 129
     # NOTE(jamielennox): heat re-uses specific values from the
128 130
     # keystone_authtoken middleware group and so currently fails when using the
129 131
     # auth plugin setup. This should be fixed in heat.  Heat is also the only
... ...
@@ -269,10 +271,6 @@ function create_heat_accounts {
269 269
         get_or_create_role "heat_stack_user"
270 270
     fi
271 271
 
272
-    if [[ $HEAT_DEFERRED_AUTH == trusts ]]; then
273
-        iniset $HEAT_CONF DEFAULT deferred_auth_method trusts
274
-    fi
275
-
276 272
     if [[ "$HEAT_STACK_DOMAIN" == "True" ]]; then
277 273
         # Note we have to pass token/endpoint here because the current endpoint and
278 274
         # version negotiation in OSC means just --os-identity-api-version=3 won't work