rally-openstack/samples/tasks/scenarios/vm/boot-runcommand-delete-custom-image.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

34 lines
871 B
YAML

---
VMTasks.boot_runcommand_delete:
-
args:
command:
remote_path: "./instance_test.sh"
flavor:
name: m1.small
userdata: "#cloud-config\ndisable_root: 0\nssh_pwauth: 1"
username: root
runner:
concurrency: 1
timeout: 3000
times: 1
type: "constant"
context:
image_command_customizer:
command:
local_path: "rally-jobs/extra/install_benchmark.sh"
remote_path: "./install_benchmark.sh"
flavor:
name: m1.small
image:
name: "Fedora-x86_64-20-20140618-sda"
userdata: "#cloud-config\ndisable_root: 0\nssh_pwauth: 1"
username: root
network: {}
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0