Browse code

Merge "Add heat_stack_owner role required by tempest"

Jenkins authored on 2016/04/20 15:21:24
Showing 1 changed files
... ...
@@ -383,6 +383,11 @@ function configure_tempest {
383 383
 
384 384
     # Orchestration Tests
385 385
     if is_service_enabled heat; then
386
+        # Though this is not needed by heat, some tempest tests explicitly
387
+        # try to set this role. Removing them from the tempest tests breaks
388
+        # some non-devstack CIs.
389
+        get_or_create_role "heat_stack_owner"
390
+
386 391
         if [[ ! -z "$HEAT_CFN_IMAGE_URL" ]]; then
387 392
             iniset $TEMPEST_CONFIG orchestration image_ref $(basename "${HEAT_CFN_IMAGE_URL%.*}")
388 393
         fi
... ...
@@ -396,7 +401,7 @@ function configure_tempest {
396 396
             iniset $TEMPEST_CONFIG orchestration instance_type "m1.heat"
397 397
         fi
398 398
         iniset $TEMPEST_CONFIG orchestration build_timeout 900
399
-        iniset $TEMPEST_CONFIG orchestration stack_owner_role "_member_"
399
+        iniset $TEMPEST_CONFIG orchestration stack_owner_role "heat_stack_owner"
400 400
     fi
401 401
 
402 402
     # Scenario