haos/README.md
Timur Nurlygayanov 51f973e460 Added new atomic scenarios
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
2015-06-15 17:08:36 +03:00

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

  1. Clone the repository: git clone git://git.openstack.org/stackforge/haos
  2. Make sure that sshpass is installed - for example, on Ubuntu execute the following command: sudo apt-get install sshpass
  3. Edit etc/openrc.local file, set IP addresses, credentials and parameters for your cloud
  4. Import openrc into your environment by doing source etc/openrc.local
  5. 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>