Distributed data-plane performance testing tool
Go to file
Ilya Shakhat 1a65fba420 Introduce record id and reference from sla-record
Rename field 'agent_id' into 'agent' to stay similar to other
references

Change-Id: Iad9c6d189200fefcbff119fba0f778d18079114c
2015-04-20 19:21:30 +03:00
doc/source Add parameter to skip report generation for failed scenarios 2015-04-08 16:13:01 +03:00
etc Add parameter to skip report generation for failed scenarios 2015-04-08 16:13:01 +03:00
scenarios Introduce record id and reference from sla-record 2015-04-20 19:21:30 +03:00
shaker Introduce record id and reference from sla-record 2015-04-20 19:21:30 +03:00
tests Introduce record id and reference from sla-record 2015-04-20 19:21:30 +03:00
tools Generate docs for console tools 2015-03-16 00:07:59 +03:00
.gitignore Initial commit 2015-01-28 18:56:01 +03:00
.gitreview Apply bootstrap styles to the report template 2015-02-16 22:25:51 +03:00
.testr.conf Initial commit 2015-01-28 18:56:01 +03:00
config-generator.conf Fix config processing for oslo.log 2015-03-03 17:38:25 +03:00
LICENSE Initial commit 2015-01-28 18:56:01 +03:00
openstack-common.conf Use oslo.log lib instead of incunator code 2015-03-03 16:14:19 +03:00
README.rst Update readme file 2015-03-24 19:21:32 +03:00
requirements.txt Implement SLA support and subunit output 2015-03-24 00:20:01 +03:00
setup.cfg Update readme file 2015-03-24 19:21:32 +03:00
setup.py Sync requirements with global list 2015-02-02 13:38:38 +03:00
test-requirements.txt Implement SLA support and subunit output 2015-03-24 00:20:01 +03:00
tox.ini Detect lost agents 2015-04-07 14:01:14 +03:00

Shaker

Shake VMs with our sheer-class tests!

Installation

The tool consists of a single server running on master node and set of dynamically provisioned agents. In order to run the server needs to know OpenStack parameters (credentials, auth_url), they can be set via environment (e.g. by sourcing openrc file) or via parameters.

To install:
  1. git clone git://git.openstack.org/stackforge/shaker
  2. python setup.py install - installs the tool and all its python dependencies
  3. shaker-image-builder - builds image for agent VMs inside OpenStack

Note: image builder is able to create Nova flavor optimized for the image and this requires admin user privileges. However if the flavor is already exists then it can be provided via flavor-name config parameter and the tool executed from an ordinary user.

How to run

  1. shaker --server-endpoint <host>:<port> --scenario <scenario-file> --report <report-file>

During the run the tool deploys topology, spawns instances, distributes tasks among instances and generates report in HTML format.