Merge "Add manila workload scenarios"
This commit is contained in:
commit
2ff59ef4c8
@ -641,3 +641,28 @@ workloads:
|
|||||||
num_stop_start_vms: 5
|
num_stop_start_vms: 5
|
||||||
workloads: all
|
workloads: all
|
||||||
file: rally/rally-plugins/dynamic-workloads/dynamic_workload_min.yml
|
file: rally/rally-plugins/dynamic-workloads/dynamic_workload_min.yml
|
||||||
|
|
||||||
|
- name: manila
|
||||||
|
enabled: false
|
||||||
|
type: rally
|
||||||
|
rally_deployment: overcloud
|
||||||
|
concurrency:
|
||||||
|
- 1
|
||||||
|
times: 1
|
||||||
|
scenarios:
|
||||||
|
- name: create-share-network-and-list
|
||||||
|
enabled: true
|
||||||
|
file: rally/manila/create-share-network-and-list.yaml
|
||||||
|
- name: create-share-network-and-delete
|
||||||
|
enabled: true
|
||||||
|
file: rally/manila/create-share-network-and-delete.yaml
|
||||||
|
- name: create-share-and-shrink
|
||||||
|
enabled: true
|
||||||
|
share_type: default
|
||||||
|
share_proto: "nfs"
|
||||||
|
file: rally/manila/create-share-and-shrink.yaml
|
||||||
|
- name: create-share-and-extend
|
||||||
|
enabled: true
|
||||||
|
share_type: default
|
||||||
|
share_proto: "nfs"
|
||||||
|
file: rally/manila/create-share-and-extend.yaml
|
||||||
|
28
rally/manila/create-share-and-extend.yaml
Normal file
28
rally/manila/create-share-and-extend.yaml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
|
||||||
|
{% set sla_max_failure = sla_max_failure or 0 %}
|
||||||
|
{% set sla_max_seconds = sla_max_seconds or 60 %}
|
||||||
|
---
|
||||||
|
ManilaShares.create_and_extend_share:
|
||||||
|
-
|
||||||
|
args:
|
||||||
|
share_type: {{share_type}}
|
||||||
|
share_proto: "{{ share_proto }}"
|
||||||
|
size: 1
|
||||||
|
new_size: 2
|
||||||
|
runner:
|
||||||
|
type: "constant"
|
||||||
|
times: {{ times }}
|
||||||
|
concurrency: {{ concurrency }}
|
||||||
|
context:
|
||||||
|
quotas:
|
||||||
|
manila:
|
||||||
|
shares: -1
|
||||||
|
gigabytes: -1
|
||||||
|
users:
|
||||||
|
tenants: 2
|
||||||
|
users_per_tenant: 1
|
||||||
|
sla:
|
||||||
|
max_avg_duration: {{ sla_max_avg_duration }}
|
||||||
|
max_seconds_per_iteration: {{ sla_max_seconds }}
|
||||||
|
failure_rate:
|
||||||
|
max: {{ sla_max_failure }}
|
28
rally/manila/create-share-and-shrink.yaml
Normal file
28
rally/manila/create-share-and-shrink.yaml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
|
||||||
|
{% set sla_max_failure = sla_max_failure or 0 %}
|
||||||
|
{% set sla_max_seconds = sla_max_seconds or 60 %}
|
||||||
|
---
|
||||||
|
ManilaShares.create_and_shrink_share:
|
||||||
|
-
|
||||||
|
args:
|
||||||
|
share_type: {{share_type}}
|
||||||
|
share_proto: "{{ share_proto }}"
|
||||||
|
size: 2
|
||||||
|
new_size: 1
|
||||||
|
runner:
|
||||||
|
type: "constant"
|
||||||
|
times: {{ times }}
|
||||||
|
concurrency: {{ concurrency }}
|
||||||
|
context:
|
||||||
|
quotas:
|
||||||
|
manila:
|
||||||
|
shares: -1
|
||||||
|
gigabytes: -1
|
||||||
|
users:
|
||||||
|
tenants: 2
|
||||||
|
users_per_tenant: 1
|
||||||
|
sla:
|
||||||
|
max_avg_duration: {{ sla_max_avg_duration }}
|
||||||
|
max_seconds_per_iteration: {{ sla_max_seconds }}
|
||||||
|
failure_rate:
|
||||||
|
max: {{ sla_max_failure }}
|
22
rally/manila/create-share-network-and-delete.yaml
Normal file
22
rally/manila/create-share-network-and-delete.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
|
||||||
|
{% set sla_max_failure = sla_max_failure or 0 %}
|
||||||
|
{% set sla_max_seconds = sla_max_seconds or 60 %}
|
||||||
|
---
|
||||||
|
ManilaShares.create_share_network_and_delete:
|
||||||
|
-
|
||||||
|
runner:
|
||||||
|
type: "constant"
|
||||||
|
times: {{ times }}
|
||||||
|
concurrency: {{ concurrency }}
|
||||||
|
context:
|
||||||
|
quotas:
|
||||||
|
manila:
|
||||||
|
share_networks: -1
|
||||||
|
users:
|
||||||
|
tenants: 2
|
||||||
|
users_per_tenant: 1
|
||||||
|
sla:
|
||||||
|
max_avg_duration: {{ sla_max_avg_duration }}
|
||||||
|
max_seconds_per_iteration: {{ sla_max_seconds }}
|
||||||
|
failure_rate:
|
||||||
|
max: {{ sla_max_failure }}
|
26
rally/manila/create-share-network-and-list.yaml
Normal file
26
rally/manila/create-share-network-and-list.yaml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
|
||||||
|
{% set sla_max_failure = sla_max_failure or 0 %}
|
||||||
|
{% set sla_max_seconds = sla_max_seconds or 60 %}
|
||||||
|
---
|
||||||
|
ManilaShares.create_share_network_and_list:
|
||||||
|
-
|
||||||
|
args:
|
||||||
|
detailed: True
|
||||||
|
search_opts:
|
||||||
|
name: "rally"
|
||||||
|
runner:
|
||||||
|
type: "constant"
|
||||||
|
times: {{ times }}
|
||||||
|
concurrency: {{ concurrency }}
|
||||||
|
context:
|
||||||
|
quotas:
|
||||||
|
manila:
|
||||||
|
share_networks: -1
|
||||||
|
users:
|
||||||
|
tenants: 2
|
||||||
|
users_per_tenant: 1
|
||||||
|
sla:
|
||||||
|
max_avg_duration: {{ sla_max_avg_duration }}
|
||||||
|
max_seconds_per_iteration: {{ sla_max_seconds }}
|
||||||
|
failure_rate:
|
||||||
|
max: {{ sla_max_failure }}
|
Loading…
x
Reference in New Issue
Block a user