
This patch adds a parameter in browbeat-config.yaml for the number of tenants to use in nova_boot_in_batches_with_delay. This is required in scale testing. Change-Id: Ic7ca0b55a106251390e8e2987774a1c442d0d1fe
49 lines
1.5 KiB
YAML
49 lines
1.5 KiB
YAML
{% set image_name = image_name or 'cirro5' %}
|
|
{% set flavor_name = flavor_name or 'm1.tiny-cirros' %}
|
|
{% set delay_time = delay_time or 600 %}
|
|
{% set iterations_per_batch = iterations_per_batch or 5 %}
|
|
{% set num_iterations_to_delay = num_iterations_to_delay or 1 %}
|
|
{% set num_tenants = num_tenants or 1 %}
|
|
{% set num_networks_per_tenant = num_networks_per_tenant or 1 %}
|
|
{% 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 %}
|
|
---
|
|
BrowbeatNova.nova_boot_in_batches_with_delay:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: '{{flavor_name}}'
|
|
image:
|
|
name: '{{image_name}}'
|
|
delay_time: {{delay_time}}
|
|
iterations_per_batch: {{iterations_per_batch}}
|
|
num_iterations_to_delay: {{num_iterations_to_delay}}
|
|
num_networks_per_tenant: {{num_networks_per_tenant}}
|
|
concurrency: {{concurrency}}
|
|
runner:
|
|
concurrency: {{concurrency}}
|
|
times: {{times}}
|
|
type: 'constant'
|
|
context:
|
|
users:
|
|
tenants: {{num_tenants}}
|
|
users_per_tenant: 8
|
|
network:
|
|
networks_per_tenant: {{num_networks_per_tenant}}
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
port: -1
|
|
router: -1
|
|
subnet: -1
|
|
nova:
|
|
instances: -1
|
|
cores: -1
|
|
ram: -1
|
|
sla:
|
|
max_avg_duration: {{sla_max_avg_duration}}
|
|
max_seconds_per_iteration: {{sla_max_seconds}}
|
|
failure_rate:
|
|
max: {{sla_max_failure}}
|