f61b5bf221
Add missing sla section and proper check This work is originally porposed by Roman[1] [1] https://review.openstack.org/#/c/348395/3 Change-Id: I4507aa82080b41cac4b87aa810865da9ffe015e6 Closes-bug: #1554857
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{% set flavor_name = flavor_name or "m1.tiny" %}
|
|
{
|
|
"NovaServers.boot_server_from_volume_and_resize": [
|
|
{
|
|
"args": {
|
|
"flavor": {
|
|
"name": "{{flavor_name}}"
|
|
},
|
|
"image": {
|
|
"name": "^cirros.*-disk$"
|
|
},
|
|
"to_flavor": {
|
|
"name": "m1.small"
|
|
},
|
|
"confirm": true,
|
|
"volume_size": 1,
|
|
"force_delete": false,
|
|
"do_delete": true,
|
|
"boot_server_kwargs": {},
|
|
"create_volume_kwargs": {}
|
|
},
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 10,
|
|
"concurrency": 2
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 3,
|
|
"users_per_tenant": 2
|
|
}
|
|
},
|
|
"sla": {
|
|
"failure_rate": {
|
|
"max": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|