
We need to add more small atomic destructive scenarios to run them in parallel with load and performance tests. each small destructive scenario should only perform some destructive action and then recover the cloud, without any additional checks in the destructive scenario. Change-Id: I8f87a1d935786d05cdba76608d2efd28b3cc927f
1.1 KiB
1.1 KiB
High Availability OpenStack (HAOS)
Introduction
HAOS is a suite of HA/destructive tests for OpenStack clouds. These tests are written as Rally plugins and are executed by Rally and in parallel with the load/performance tests to simulate some disaster/failover scenarios with the OpenStack clouds. HAOS uses HAOS agent for remote execution of commands on OpenStack nodes and virtual machines in the cloud.
How to install
- Clone the repository:
git clone git://git.openstack.org/stackforge/haos
- Make sure that
sshpass
is installed - for example, on Ubuntu execute the following command:sudo apt-get install sshpass
- Edit etc/openrc.local file, set IP addresses, credentials and parameters for your cloud
- Import
openrc
into your environment by doingsource etc/openrc.local
- Run tox:
tox -e run
How to run tests
Run scenario with the command:
tox -e run <scenario>
How to run tests on MOS environments
Run scenario with the command:
tox -e run-for-mos <scenario>