Mirantis/openstack-ha-tests

Name: openstack-ha-tests

Owner: Mirantis Inc.

Description: The repository with HA/destructive tests for OpenStack clouds

Created: 2015-03-12 08:55:04.0

Updated: 2017-08-22 19:23:48.0

Pushed: 2015-03-26 17:54:38.0

Homepage: null

Size: 936

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

openstack-ha-tests

Introduction

HAOS is a suite of HA/destructive tests for OpenStack clouds. These tests are written like Rally plugins which can be executed with Rally and in parallel with the load/performance tests to simulate some disaster/failover scenarios with the OpenStack clouds.

How To Run Tests

These tests require to manually configure OpenStack environment before the tests, because we need to install shaker agents on all OpenStack nodes. The tests also require to install Rally and add all Rally plugins from this repository to Rally plugins folder.

  1. Run dummy_shaker_agent.py on all controller nodes in daemon mode - just follow the instructions which are available in dummy_shaker_agent.py (this is temporary solution while we have no the proper shaker support for our cases)
  2. Install HAOS: bash ./install.sh
  3. Configure scenario file (in folder samples/tasks/scenarios), set parameters for all controller nodes and power control node, where we can manage the power state of virtual/baremetal servers (or public IP addresses).
  4. Run Rally task with the required HA/disaster test scenario multiple times and verify that it will pass.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.