Browse code

Remove the heat stack owner role

We should not require any special role for heat
since very long time.

We should use the same roles as with the primary user.

Change-Id: Id9150f94c30505ed0da33b8fbc2a5a7bd4fcf5d0

Attila Fazekas authored on 2016/10/11 15:23:48
Showing 1 changed files
... ...
@@ -390,11 +390,6 @@ function configure_tempest {
390 390
 
391 391
     # Orchestration Tests
392 392
     if is_service_enabled heat; then
393
-        # Though this is not needed by heat, some tempest tests explicitly
394
-        # try to set this role. Removing them from the tempest tests breaks
395
-        # some non-devstack CIs.
396
-        get_or_create_role "heat_stack_owner"
397
-
398 393
         if [[ ! -z "$HEAT_CFN_IMAGE_URL" ]]; then
399 394
             iniset $TEMPEST_CONFIG orchestration image_ref $(basename "${HEAT_CFN_IMAGE_URL%.*}")
400 395
         fi
... ...
@@ -408,7 +403,7 @@ function configure_tempest {
408 408
             iniset $TEMPEST_CONFIG orchestration instance_type "m1.heat"
409 409
         fi
410 410
         iniset $TEMPEST_CONFIG orchestration build_timeout 900
411
-        iniset $TEMPEST_CONFIG orchestration stack_owner_role "heat_stack_owner"
411
+        iniset $TEMPEST_CONFIG orchestration stack_owner_role Member
412 412
     fi
413 413
 
414 414
     # Scenario