diff --git a/etc/rally/rally.conf.sample b/etc/rally/rally.conf.sample index 5ae3fe2c..229d6f74 100644 --- a/etc/rally/rally.conf.sample +++ b/etc/rally/rally.conf.sample @@ -150,35 +150,49 @@ # point value) #glance_image_delete_poll_interval = 1.0 -# Time to sleep after creating a resource before polling for it status +# Time(in sec) to sleep after creating a resource before polling for it status. # (floating point value) #heat_stack_create_prepoll_delay = 2.0 -# Time to wait for heat stack to be created. (floating point value) +# Time(in sec) to wait for heat stack to be created. (floating point value) #heat_stack_create_timeout = 3600.0 -# Interval between checks when waiting for stack creation. (floating -# point value) +# Time interval(in sec) between checks when waiting for stack creation. +# (floating point value) #heat_stack_create_poll_interval = 1.0 -# Time to wait for heat stack to be deleted. (floating point value) +# Time(in sec) to wait for heat stack to be deleted. (floating point value) #heat_stack_delete_timeout = 3600.0 -# Interval between checks when waiting for stack deletion. (floating -# point value) +# Time interval(in sec) between checks when waiting for stack deletion. +# (floating point value) #heat_stack_delete_poll_interval = 1.0 -# Time to sleep after updating a resource before polling for it status +# Time(in sec) to sleep after updating a resource before polling for it status. # (floating point value) #heat_stack_update_prepoll_delay = 2.0 -# Time to wait for stack to be updated (floating point value) +# Time(in sec) to wait for stack to be updated. (floating point value) #heat_stack_update_timeout = 3600.0 -# Interval between checks when waiting for stack update. (floating -# point value) +# Time interval(in sec) between checks when waiting for stack update. +# (floating point value) #heat_stack_update_poll_interval = 1.0 +# Time(in sec) to wait for stack to be suspended. (floating point value) +#heat_stack_suspend_timeout = 3600.0 + +# Time interval(in sec) between checks when waiting for stack suspend. +# (floating point value) +#heat_stack_suspend_poll_interval = 1.0 + +# Time(in sec) to wait for stack to be resumed. (floating point value) +#heat_stack_resume_timeout = 3600.0 + +# Time interval(in sec) between checks when waiting for stack resume. +# (floating point value) +#heat_stack_resume_poll_interval = 1.0 + # Time to sleep after start before polling for status (floating point # value) #nova_server_start_prepoll_delay = 0.0 diff --git a/rally-jobs/rally.yaml b/rally-jobs/rally.yaml index 65ca66ee..9e8cff90 100755 --- a/rally-jobs/rally.yaml +++ b/rally-jobs/rally.yaml @@ -623,6 +623,22 @@ failure_rate: max: 0 + HeatStacks.create_suspend_resume_delete_stack: + - + args: + template_path: "/home/jenkins/.rally/extra/random_strings.yaml.template" + runner: + type: "constant" + times: 6 + concurrency: 3 + context: + users: + tenants: 2 + users_per_tenant: 3 + sla: + failure_rate: + max: 0 + Authenticate.keystone: - runner: diff --git a/samples/tasks/scenarios/heat/create-suspend-resume-delete-stack.json b/samples/tasks/scenarios/heat/create-suspend-resume-delete-stack.json new file mode 100644 index 00000000..e3170ed5 --- /dev/null +++ b/samples/tasks/scenarios/heat/create-suspend-resume-delete-stack.json @@ -0,0 +1,20 @@ +{ + "HeatStacks.create_suspend_resume_delete_stack": [ + { + "args": { + "template_path": "templates/random_strings.yaml.template" + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 3, + "users_per_tenant": 2 + } + } + } + ] +} diff --git a/samples/tasks/scenarios/heat/create-suspend-resume-delete-stack.yaml b/samples/tasks/scenarios/heat/create-suspend-resume-delete-stack.yaml new file mode 100644 index 00000000..32ee90ef --- /dev/null +++ b/samples/tasks/scenarios/heat/create-suspend-resume-delete-stack.yaml @@ -0,0 +1,13 @@ +--- + HeatStacks.create_suspend_resume_delete_stack: + - + args: + template_path: "templates/random_strings.yaml.template" + runner: + type: "constant" + times: 10 + concurrency: 2 + context: + users: + tenants: 3 + users_per_tenant: 2 \ No newline at end of file