Breaking Rally Keystone Scenarios into Authenticate and KeystoneBasic.

Change-Id: Ie33d2cd1aba5029fbbfcedd662b68ca6dc5f5388
This commit is contained in:
Alex Krzos 2016-03-01 21:53:29 -05:00
parent 8aacc32bc9
commit 3b863bb580
31 changed files with 885 additions and 50 deletions

View File

@ -29,10 +29,42 @@ grafana:
grafana_api_key: (Your API Key Here)
snapshot_compute: false
rally:
enabled: true
sleep_before: 5
sleep_after: 5
venv: /home/stack/rally-venv/bin/activate
benchmarks:
authenticate:
enabled: true
concurrency:
- 64
- 128
- 192
- 256
- 320
- 384
- 448
- 512
times: 10000
scenarios:
authentic-keystone:
enabled: true
file: rally/authenticate/keystone-cc.yml
sla_max_avg_duration: 6
sla_max_seconds: 30
sla_max_failure: 0
authentic-neutron:
enabled: true
file: rally/authenticate/validate_neutron-cc.yml
sla_max_avg_duration: 18
sla_max_seconds: 30
sla_max_failure: 0
authentic-nova:
enabled: true
file: rally/authenticate/validate_nova-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
cinder:
enabled: true
concurrency:
@ -54,48 +86,23 @@ rally:
flavor_name: m1.tiny
sla_max_seconds: 30
sla_max_failure: 0
keystone:
keystonebasic:
enabled: true
concurrency:
- 64
- 128
- 192
- 256
- 320
- 384
- 448
- 512
times: 10000
times: 5000
scenarios:
authentic-keystone:
create-and-list-tenants:
enabled: true
file: rally/keystone/authenticate-keystone-cc.yml
sla_max_avg_duration: 6
sla_max_seconds: 30
sla_max_failure: 0
authentic-neutron:
enabled: true
file: rally/keystone/authenticate-neutron-cc.yml
sla_max_avg_duration: 18
sla_max_seconds: 30
sla_max_failure: 0
authentic-nova:
enabled: true
file: rally/keystone/authenticate-nova-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
create-list-tenant:
enabled: true
file: rally/keystone/keystone-create-list-tenant-cc.yml
file: rally/keystonebasic/create_and_list_tenants-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
times: 5000
concurrency:
- 256
create-list-user:
create-and-list-users:
enabled: true
file: rally/keystone/keystone-create-list-user-cc.yml
file: rally/keystonebasic/create_and_list_users-cc.yml
times: 5000
concurrency:
- 256

View File

@ -54,10 +54,35 @@ shaker:
compute: 1
file: /home/stack/shaker-venv/lib/python2.7/site-packages/shaker/scenarios/networking/dense_l3_east_west.yaml
rally:
enabled: true
sleep_before: 5
sleep_after: 5
venv: /home/stack/rally-venv/bin/activate
benchmarks:
authenticate:
enabled: true
concurrency:
- 64
times: 500
scenarios:
authentic-keystone:
enabled: true
file: rally/authenticate/keystone-cc.yml
sla_max_avg_duration: 6
sla_max_seconds: 30
sla_max_failure: 0
authentic-neutron:
enabled: false
file: rally/authenticate/validate_neutron-cc.yml
sla_max_avg_duration: 18
sla_max_seconds: 30
sla_max_failure: 0
authentic-nova:
enabled: false
file: rally/authenticate/validate_nova-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
cinder:
enabled: true
concurrency:
@ -74,30 +99,21 @@ rally:
image_name: cirros
file: rally/cinder/cinder-create-and-attach-volume-cc.yml
flavor_name: m1.tiny
keystone:
keystonebasic:
enabled: true
concurrency:
- 64
times: 500
- 10
times: 100
scenarios:
authentic-keystone:
create-and-list-tenants:
enabled: false
file: rally/keystonebasic/create_and_list_tenants-cc.yml
create-and-list-users:
enabled: true
file: rally/keystone/authenticate-keystone-cc.yml
sla_max_avg_duration: 1
file: rally/keystonebasic/create_and_list_users-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
authentic-neutron:
enabled: false
file: rally/keystone/authenticate-neutron-cc.yml
authentic-nova:
enabled: false
file: rally/keystone/authenticate-nova-cc.yml
create-list-tenant:
enabled: false
file: rally/keystone/keystone-create-list-tenant-cc.yml
create-list-user:
enabled: false
file: rally/keystone/keystone-create-list-user-cc.yml
nova:
enabled: true
concurrency:

View File

@ -0,0 +1,185 @@
# Complete set of Keystone Stress tests run 3 times over multiple concurrencies with high repetitions(times)
# This testing will take days to complete. (You have been warned)
browbeat:
results : results/
sudo: true
connmon: false
rerun: 3
ansible:
hosts: ansible/hosts
install:
connmon: ansible/install/connmon.yml
browbeat: ansible/install/browbeat.yml
check: ansible/check/site.yml
adjust:
keystone_token: ansible/browbeat/adjustment-keystone-token.yml
neutron_l3: ansible/browbeat/adjustment-l3.yml
nova_db: ansible/browbeat/adjustment-db.yml
workers: ansible/browbeat/adjustment-workers.yml
grafana_snapshot: ansible/browbeat/snapshot-general-performance-dashboard.yml
shaker_build: ansible/install/shaker_build.yml
grafana:
enabled: false
cloud_name: openstack
grafana_ip: 1.1.1.1
grafana_port: 3000
dashboards:
- openstack-general-system-performance
snapshot:
enabled: false
grafana_api_key: (Your API Key Here)
snapshot_compute: false
rally:
enabled: true
sleep_before: 5
sleep_after: 5
venv: /home/stack/rally-venv/bin/activate
benchmarks:
authenticate:
enabled: true
concurrency:
- 64
- 128
- 192
- 256
- 320
- 384
- 448
- 512
times: 10000
scenarios:
authentic-cinder:
enabled: true
file: rally/authenticate/validate_cinder-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
authentic-glance:
enabled: true
file: rally/authenticate/validate_glance-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
authentic-heat:
enabled: true
file: rally/authenticate/validate_heat-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
authentic-keystone:
enabled: true
file: rally/authenticate/keystone-cc.yml
sla_max_avg_duration: 6
sla_max_seconds: 30
sla_max_failure: 0
authentic-monasca:
enabled: false
file: rally/authenticate/validate_monasca-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
authentic-neutron:
enabled: true
file: rally/authenticate/validate_neutron-cc.yml
sla_max_avg_duration: 18
sla_max_seconds: 30
sla_max_failure: 0
authentic-nova:
enabled: true
file: rally/authenticate/validate_nova-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
keystonebasic:
enabled: true
concurrency:
- 128
- 256
times: 5000
scenarios:
create-user:
enabled: true
file: rally/keystonebasic/create_user-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-delete-user:
enabled: true
file: rally/keystonebasic/create_delete_user-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-user-set-enabled-and-delete:
enabled: true
enabled_flag: true
file: rally/keystonebasic/create_user_set_enabled_and_delete-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-tenant:
enabled: true
file: rally/keystonebasic/create_tenant-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-tenant-with-users:
enabled: true
file: rally/keystonebasic/create_tenant_with_users-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-list-users:
enabled: true
file: rally/keystonebasic/create_and_list_users-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-list-tenants:
enabled: true
file: rally/keystonebasic/create_and_list_tenants-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
add-and-remove-user-role:
enabled: true
file: rally/keystonebasic/add_and_remove_user_role-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-delete-role:
enabled: true
file: rally/keystonebasic/create_and_delete_role-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-add-and-list-user-roles:
enabled: true
file: rally/keystonebasic/create_add_and_list_user_roles-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
get-entities:
enabled: true
file: rally/keystonebasic/get_entities-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-delete-service:
enabled: true
file: rally/keystonebasic/create_and_delete_service-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-update-and-delete-tenant:
enabled: true
file: rally/keystonebasic/create_update_and_delete_tenant-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-user-update-password:
enabled: true
file: rally/keystonebasic/create_user_update_password-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-list-services:
enabled: true
file: rally/keystonebasic/create_and_list_services-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-list-ec2credentials:
enabled: true
file: rally/keystonebasic/create_and_list_ec2credentials-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-delete-ec2credentials:
enabled: true
file: rally/keystonebasic/create_and_delete_ec2credentials-cc.yml
sla_max_seconds: 30
sla_max_failure: 0

View File

@ -0,0 +1,177 @@
# Complete set of Keystone Stress tests run minimal number of times.
# Good sanity test to see if OSP will be able to handle the longer stress tests.
browbeat:
results : results/
sudo: true
connmon: false
rerun: 1
ansible:
hosts: ansible/hosts
install:
connmon: ansible/install/connmon.yml
browbeat: ansible/install/browbeat.yml
check: ansible/check/site.yml
adjust:
keystone_token: ansible/browbeat/adjustment-keystone-token.yml
neutron_l3: ansible/browbeat/adjustment-l3.yml
nova_db: ansible/browbeat/adjustment-db.yml
workers: ansible/browbeat/adjustment-workers.yml
grafana_snapshot: ansible/browbeat/snapshot-general-performance-dashboard.yml
shaker_build: ansible/install/shaker_build.yml
grafana:
enabled: false
cloud_name: openstack
grafana_ip: 1.1.1.1
grafana_port: 3000
dashboards:
- openstack-general-system-performance
snapshot:
enabled: false
grafana_api_key: (Your API Key Here)
snapshot_compute: false
rally:
enabled: true
sleep_before: 5
sleep_after: 5
venv: /home/stack/rally-venv/bin/activate
benchmarks:
authenticate:
enabled: true
concurrency:
- 32
times: 100
scenarios:
authentic-cinder:
enabled: true
file: rally/authenticate/validate_cinder-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
authentic-glance:
enabled: true
file: rally/authenticate/validate_glance-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
authentic-heat:
enabled: true
file: rally/authenticate/validate_heat-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
authentic-keystone:
enabled: true
file: rally/authenticate/keystone-cc.yml
sla_max_avg_duration: 6
sla_max_seconds: 30
sla_max_failure: 0
authentic-monasca:
enabled: false
file: rally/authenticate/validate_monasca-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
authentic-neutron:
enabled: true
file: rally/authenticate/validate_neutron-cc.yml
sla_max_avg_duration: 18
sla_max_seconds: 30
sla_max_failure: 0
authentic-nova:
enabled: true
file: rally/authenticate/validate_nova-cc.yml
sla_max_avg_duration: 12
sla_max_seconds: 30
sla_max_failure: 0
keystonebasic:
enabled: true
concurrency:
- 25
times: 100
scenarios:
create-user:
enabled: true
file: rally/keystonebasic/create_user-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-delete-user:
enabled: true
file: rally/keystonebasic/create_delete_user-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-user-set-enabled-and-delete:
enabled: true
enabled_flag: true
file: rally/keystonebasic/create_user_set_enabled_and_delete-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-tenant:
enabled: true
file: rally/keystonebasic/create_tenant-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-tenant-with-users:
enabled: true
file: rally/keystonebasic/create_tenant_with_users-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-list-users:
enabled: true
file: rally/keystonebasic/create_and_list_users-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-list-tenants:
enabled: true
file: rally/keystonebasic/create_and_list_tenants-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
add-and-remove-user-role:
enabled: true
file: rally/keystonebasic/add_and_remove_user_role-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-delete-role:
enabled: true
file: rally/keystonebasic/create_and_delete_role-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-add-and-list-user-roles:
enabled: true
file: rally/keystonebasic/create_add_and_list_user_roles-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
get-entities:
enabled: true
file: rally/keystonebasic/get_entities-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-delete-service:
enabled: true
file: rally/keystonebasic/create_and_delete_service-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-update-and-delete-tenant:
enabled: true
file: rally/keystonebasic/create_update_and_delete_tenant-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-user-update-password:
enabled: true
file: rally/keystonebasic/create_user_update_password-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-list-services:
enabled: true
file: rally/keystonebasic/create_and_list_services-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-list-ec2credentials:
enabled: true
file: rally/keystonebasic/create_and_list_ec2credentials-cc.yml
sla_max_seconds: 30
sla_max_failure: 0
create-and-delete-ec2credentials:
enabled: true
file: rally/keystonebasic/create_and_delete_ec2credentials-cc.yml
sla_max_seconds: 30
sla_max_failure: 0

View File

@ -0,0 +1 @@
# Authenticate scenarios

View File

@ -0,0 +1,25 @@
{% set repetitions = repetitions or 2 %}
{% 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 %}
---
Authenticate.validate_cinder:
-
args:
repetitions: {{repetitions}}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,25 @@
{% set repetitions = repetitions or 2 %}
{% 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 %}
---
Authenticate.validate_glance:
-
args:
repetitions: {{repetitions}}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,25 @@
{% set repetitions = repetitions or 2 %}
{% 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 %}
---
Authenticate.validate_heat:
-
args:
repetitions: {{repetitions}}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,25 @@
{% set repetitions = repetitions or 2 %}
{% 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 %}
---
Authenticate.validate_monasca:
-
args:
repetitions: {{repetitions}}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -1 +0,0 @@
# Keystone scenarios

View File

@ -0,0 +1 @@
# KeystoneBasic scenarios

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.add_and_remove_user_role:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.create_add_and_list_user_roles:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.create_and_delete_ec2credential:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.create_and_delete_role:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.create_and_delete_service:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.create_and_list_ec2credentials:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.create_and_list_services:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.create_delete_user:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.create_tenant:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,25 @@
{% set users_per_tenant = users_per_tenant or 5 %}
{% 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 %}
---
KeystoneBasic.create_tenant_with_users:
-
args:
users_per_tenant: {{users_per_tenant}}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.create_update_and_delete_tenant:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.create_user:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,25 @@
{% set enabled_flag = enabled_flag or true %}
{% 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 %}
---
KeystoneBasic.create_user_set_enabled_and_delete:
-
args:
enabled: {{enabled_flag}}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.create_user_update_password:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}

View File

@ -0,0 +1,23 @@
{% 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 %}
---
KeystoneBasic.get_entities:
-
args: {}
context:
users:
project_domain: "default"
resource_management_workers: 30
tenants: 1
user_domain: "default"
users_per_tenant: 8
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}