From 2800b22d762e938727ec4b466178eca4de05006d Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Wed, 6 Dec 2017 14:48:32 +0000 Subject: Assign heat_stack_owner role to the new user For heat scenario in rally, assign heat_stack_owner role to the new created users. Change-Id: I86a74ca88993ed3782d21b22eb5933d639d86c94 Signed-off-by: Linda Wang --- .../openstack/rally/scenario/full/opnfv-heat.yaml | 26 ++++++++++++++++++++++ .../rally/scenario/sanity/opnfv-heat.yaml | 8 +++++++ 2 files changed, 34 insertions(+) diff --git a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-heat.yaml b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-heat.yaml index 6f3a5c163..3adf8f7f6 100644 --- a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-heat.yaml +++ b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-heat.yaml @@ -4,6 +4,8 @@ template_path: "{{ tmpl_dir }}/default.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -17,6 +19,8 @@ flavor: {{ flavor_name }} context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -30,6 +34,8 @@ network_id: {{ netid }} context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -41,6 +47,8 @@ template_path: "{{ tmpl_dir }}/default.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -53,6 +61,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_random_strings_add.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -63,6 +73,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_random_strings_delete.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -73,6 +85,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_resource_group_increase.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -83,6 +97,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_autoscaling_policy_inplace.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -93,6 +109,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_resource_group_reduce.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -103,6 +121,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_random_strings_replace.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -114,6 +134,8 @@ template_path: "{{ tmpl_dir }}/random_strings.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -125,6 +147,8 @@ template_path: "{{ tmpl_dir }}/random_strings.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -134,6 +158,8 @@ - context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: diff --git a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-heat.yaml b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-heat.yaml index dc34cc3f2..5df49aaa0 100644 --- a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-heat.yaml +++ b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-heat.yaml @@ -5,6 +5,8 @@ updated_template_path: "{{ tmpl_dir }}/updated_autoscaling_policy_inplace.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -16,6 +18,8 @@ template_path: "{{ tmpl_dir }}/random_strings.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -27,6 +31,8 @@ template_path: "{{ tmpl_dir }}/random_strings.yaml.template" context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: @@ -36,6 +42,8 @@ - context: {{ user_context(tenants_amount, users_amount, use_existing_users) }} + roles: + - "heat_stack_owner" runner: {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: -- cgit 1.2.3-korg