rally-openstack/samples/tasks/scenarios/glance/create-image-and-boot-instances.yaml
zhangzhang f61b5bf221 Add sla section to samples
Add missing sla section and proper check
This work is originally porposed by Roman[1]

[1] https://review.openstack.org/#/c/348395/3

Change-Id: I4507aa82080b41cac4b87aa810865da9ffe015e6
Closes-bug: #1554857
2017-08-03 04:31:30 -04:00

23 lines
566 B
YAML

{% set flavor_name = flavor_name or "m1.tiny" %}
---
GlanceImages.create_image_and_boot_instances:
-
args:
image_location: "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img"
container_format: "bare"
disk_format: "qcow2"
flavor:
name: "{{flavor_name}}"
number_instances: 2
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0