![zhangzhang](/assets/img/avatar_default.png)
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
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
{% set flavor_name = flavor_name or "m1.tiny" %}
|
|
---
|
|
CinderVolumes.create_snapshot_and_attach_volume:
|
|
-
|
|
args:
|
|
volume_type: "lvmdriver-1"
|
|
size:
|
|
min: 1
|
|
max: 5
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
servers:
|
|
image:
|
|
name: "^cirros.*-disk$"
|
|
flavor:
|
|
name: "{{flavor_name}}"
|
|
servers_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
args:
|
|
volume_type: "test"
|
|
size:
|
|
min: 1
|
|
max: 5
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
servers:
|
|
image:
|
|
name: "^cirros.*-disk$"
|
|
flavor:
|
|
name: "{{flavor_name}}"
|
|
servers_per_tenant: 2
|
|
volume_types:
|
|
- "test"
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|