tripleo-ha-utils/rally
Raoul Scarazzini 20507623d0 Fix the last old repository references
This patch fixes the latest references that are around and refer to the
old repository name (tripleo-quickstart-utils), changing it into the new
tripleo-ha-utils.

Change-Id: I426387486b832314882a3094966e4f2806218331
2018-05-23 17:12:48 +02:00
..
plugins Fix Rally OSP12/Pike support for IHA plugin 2017-12-06 12:37:33 -05:00
templates Add Rally Instance HA test suite 2017-12-01 12:14:49 -05:00
README.md Fix the last old repository references 2018-05-23 17:12:48 +02:00
instance-ha.yml Add Rally Instance HA test suite 2017-12-01 12:14:49 -05:00

README.md

Rally tests

This directory contains all the files available to use Rally for testing the behavior of the TripleO environment. For example you can test if instance HA is behaving correctly inside the overcloud environment in which it was configured.

Requirements

A working and accessible TripleO environment, as described here. so an hosts file containing the whole environment inventory and, if needed, a ssh.config.ansible with all the information to access nodes.

How to use Rally to test Instance HA

If you want to launch a Rally test session to check how Instance HA is behaving into the overcloud you can rely on a command like this one:

ansible-playbook -i hosts \
 -e public_physical_network="public" \
 -e floating_ip_cidr="192.168.99.0/24" \
 -e public_net_pool_start="192.168.99.211" \
 -e public_net_pool_end="192.168.99.216" \
 -e public_net_gateway="192.168.99.254" \
 tripleo-ha-utils/rally/instance-ha.yml

this command can be launched from the undercloud machine or from a jump host (which must have all the required file locally). The requested parameters refers to the network settings in which the instances will be spawned into.

This will execute the tests contained in the template yaml:

  • InstanceHA.recover_instance_fip_and_volume: spawn an instance, stop the compute it's running on, check it migrates, check node recovers;
  • InstanceHA.recover_stopped_instance_fip: spawn an instance, put it in stopped status, stop the compute it's running on, check it migrates, check node recovers;
  • InstanceHA.recover_instance_two_cycles: do as in the first step, but two times;

License

GPL

Author Information

Raoul Scarazzini rasca@redhat.com