
This commit adds a Rally test suite which will make the user able to check if Instance HA is behaving correctly. It could be used to add further tests in the future, maybe to replace the actual validate-ha way to check cluster related things. Change-Id: Ic9161a5f75fc33f4f61ab8549b18b43f7168197c
82 lines
1.9 KiB
Django/Jinja
82 lines
1.9 KiB
Django/Jinja
---
|
|
InstanceHA.recover_instance_fip_and_volume:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: "m1.tiny"
|
|
image:
|
|
name: cirros
|
|
volume_args:
|
|
size: 1
|
|
floating_network: "{{ public_physical_network }}-network"
|
|
force_delete: false
|
|
wait_for_ping: false
|
|
computes:
|
|
username: "heat-admin"
|
|
key_filename: "/home/stack/.ssh/id_rsa"
|
|
port: 22
|
|
runner:
|
|
type: "constant"
|
|
times: 1
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
network: {}
|
|
sla:
|
|
failure_rate:
|
|
max: 0.0
|
|
InstanceHA.recover_stopped_instance_fip:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: "m1.tiny"
|
|
image:
|
|
name: cirros
|
|
floating_network: "{{ public_physical_network }}-network"
|
|
force_delete: false
|
|
wait_for_ping: false
|
|
computes:
|
|
username: "heat-admin"
|
|
key_filename: "/home/stack/.ssh/id_rsa"
|
|
port: 22
|
|
runner:
|
|
type: "constant"
|
|
times: 1
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
network: {}
|
|
sla:
|
|
failure_rate:
|
|
max: 0.0
|
|
InstanceHA.recover_instance_two_cycles:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: "m1.tiny"
|
|
image:
|
|
name: cirros
|
|
floating_network: "{{ public_physical_network }}-network"
|
|
force_delete: false
|
|
wait_for_ping: false
|
|
computes:
|
|
username: "heat-admin"
|
|
key_filename: "/home/stack/.ssh/id_rsa"
|
|
port: 22
|
|
runner:
|
|
type: "constant"
|
|
times: 1
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
network: {}
|
|
sla:
|
|
failure_rate:
|
|
max: 0.0
|