rally-openstack/samples/tasks/scenarios/cinder/create-snapshot-and-attach-volume.yaml
cxhuawei 76d3620377 create a new server in each iteration when making snapshots from a server
1. maxinum number of volumes per VM is 26 because of hard-coded limit
2. detaching will be blocked when large concurency

Closes-Bug: #1708160
Change-Id: Ice2126209abd1812d1d133f597660be9e6dd3e6c
2017-09-26 13:13:06 +00:00

48 lines
1006 B
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
image:
name: "^cirros.*-disk$"
flavor:
name: "{{flavor_name}}"
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 1
sla:
failure_rate:
max: 0
-
args:
volume_type: "test"
size:
min: 1
max: 5
image:
name: "^cirros.*-disk$"
flavor:
name: "{{flavor_name}}"
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 1
volume_types:
- "test"
sla:
failure_rate:
max: 0