Add create-check-delete stack scenario
The patch includes scenario that measures performance for the following scenario steps: - Create a new stack from template in Heat - Check the created stack and its resources in Heat. - Delete the stack. The patch includes samples and unittests. Change-Id: I512f5d5c01d8f5973b68672476e970c54000470b
This commit is contained in:
parent
14ada832c4
commit
86aed462d3
@ -193,6 +193,13 @@
|
||||
# (floating point value)
|
||||
#heat_stack_resume_poll_interval = 1.0
|
||||
|
||||
# Time(in sec) to wait for stack to be checked. (floating point value)
|
||||
#heat_stack_check_timeout = 3600.0
|
||||
|
||||
# Time interval(in sec) between checks when waiting for stack checking.
|
||||
# (floating point value)
|
||||
#heat_stack_check_poll_interval = 1.0
|
||||
|
||||
# Time to sleep after start before polling for status (floating point
|
||||
# value)
|
||||
#nova_server_start_prepoll_delay = 0.0
|
||||
|
@ -509,6 +509,22 @@
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
HeatStacks.create_check_delete_stack:
|
||||
-
|
||||
args:
|
||||
template_path: "/home/jenkins/.rally/extra/random_strings.yaml.template"
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 6
|
||||
concurrency: 2
|
||||
context:
|
||||
users:
|
||||
tenants: 2
|
||||
users_per_tenant: 2
|
||||
sla:
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
HeatStacks.create_update_delete_stack:
|
||||
-
|
||||
args:
|
||||
|
20
samples/tasks/scenarios/heat/create-check-delete-stack.json
Normal file
20
samples/tasks/scenarios/heat/create-check-delete-stack.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"HeatStacks.create_check_delete_stack": [
|
||||
{
|
||||
"args": {
|
||||
"template_path": "templates/random_strings.yaml.template"
|
||||
},
|
||||
"runner": {
|
||||
"type": "constant",
|
||||
"times": 10,
|
||||
"concurrency": 2
|
||||
},
|
||||
"context": {
|
||||
"users": {
|
||||
"tenants": 2,
|
||||
"users_per_tenant": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
13
samples/tasks/scenarios/heat/create-check-delete-stack.yaml
Normal file
13
samples/tasks/scenarios/heat/create-check-delete-stack.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
HeatStacks.create_check_delete_stack:
|
||||
-
|
||||
args:
|
||||
template_path: "templates/random_strings.yaml.template"
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 10
|
||||
concurrency: 2
|
||||
context:
|
||||
users:
|
||||
tenants: 2
|
||||
users_per_tenant: 3
|
Loading…
Reference in New Issue
Block a user