659afbb03a
This plugin tracks the the lifecycle of an instance from image creation to deletion. Part of ongoing work to stress glance and see how glance workers affect nova. Change-Id: I20ef48ff810beb3b0e14c41d71aa52e6711dc400
39 lines
1011 B
YAML
39 lines
1011 B
YAML
{% set image_location = image_location or "/home/stack/cirros" %}
|
|
{% 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 %}
|
|
---
|
|
BrowbeatPlugin.glance_create_boot_delete:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: '{{flavor_name}}'
|
|
image_location: "{{image_location}}"
|
|
container_format: "bare"
|
|
disk_format: "qcow2"
|
|
network_create_args: {}
|
|
subnet_create_args: {}
|
|
runner:
|
|
concurrency: {{concurrency}}
|
|
times: {{times}}
|
|
type: "constant"
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 8
|
|
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}}
|