A collection of plugins for Rally framework designed for the OpenStack platform.
Go to file
Andrey Kurilin b9a90fafa0 [docs] fix invalid "rst" usage
* Fix an issue while splitting docstring to description of parameters
  and the description of the plugins itself. Method 'trip' uses the
  second line of docstring to identify the intend to cut. This logic
  bases on the fact that the first line of docstring doesn't have intend
  at all. Unfortunately, python docstring objects start with empty line
  which moves the actual first line to the second position.

* We do not use definitions in any existing plugins docstrings.
  Existance of such nodes while parsing text means that there is an
  issue with intend (redundant spaces) or missed new line between list
  title/description and actual list items. (the proper test is added)

* rst parser adds "system_message" nodes for any kind of warnings and
  errors. This behaviour can be used in our test to find all "invalid"
  things.

Change-Id: I348ccf140458b604a8cc29053d166c1610ad807d
2018-04-25 16:08:04 +00:00
.zuul.d [ci] Add docker-check job 2018-04-17 16:48:53 +03:00
devstack Add basic job for Rally task 2018-03-01 20:06:19 +02:00
doc Fix consts imports 2018-03-28 12:39:27 +03:00
etc [envs] Implmenet Env CLI commands 2018-02-15 02:47:21 -08:00
rally_openstack [docs] fix invalid "rst" usage 2018-04-25 16:08:04 +00:00
rally-jobs Port rally-jobs/telemetry.yaml to new format 2018-04-18 15:25:23 +03:00
samples Add Gnocchi scenario for resource creation 2018-04-10 13:51:05 +03:00
tasks Neutron scenario to delete subnets for the same network concurrently 2018-03-22 20:42:23 +02:00
tests [docs] fix invalid "rst" usage 2018-04-25 16:08:04 +00:00
.coveragerc [CI] Fix coverage job 2016-06-27 15:39:13 +03:00
.dockerignore Fix docker build command 2015-11-10 16:33:29 -08:00
.gitignore [ci] Start fixing CLI job 2017-10-12 12:13:18 +03:00
.gitreview Modify .gitreview 2018-02-20 16:55:59 +00:00
bindep.txt Update links in bindep.txt 2018-01-16 12:17:17 +08:00
CHANGELOG.rst Merge "[ci] Add docker-check job" 2018-04-17 17:15:47 +00:00
CONTRIBUTING.rst [docs][6] Re-design docs to cover all user-groups 2017-01-10 11:25:00 -08:00
Dockerfile Dockerfile - trivial fixes 2018-02-07 19:01:26 +00:00
LICENSE Initial commit 2013-08-03 09:17:25 -07:00
README.rst Several small improvements for README 2018-04-16 11:51:22 +03:00
requirements.txt Adds Octavia to OSClient 2018-03-22 00:12:06 +02:00
setup.cfg Remove some redundant stuff 2018-03-15 16:35:26 +02:00
setup.py Updated from global requirements 2015-09-22 10:45:07 +00:00
test-requirements.txt Remove some redundant stuff 2018-03-15 16:35:26 +02:00
tox.ini Fix the order of imports 2018-02-20 15:25:02 +00:00
upper-constraints.txt Fix support for k8s-client 4.0 2018-02-28 07:20:25 +00:00

rally-openstack

Rally plugins for OpenStack platform

Usage

# Install this package (will install rally if not installed)
pip install rally-openstack

# List all installed plugins
rally plugin list --platform openstack

# Create OpenStack Env

cat <<EOT >> env.yaml
---
openstack:
  auth_url: "https://keystone.net/identity"
  region_name: RegionOne
  https_insecure: False
  users:
    - username: user_that_runs_commands
      password: his password
      project_name: project_that_users_belong_to
EOT

rally env create --name my_openstack --spec env.yml

# Check that you provide correct credentials
rally env check

# Collect key Open Stack metrics
rally task start ./tasks/openstack_metrics/task.yaml --task-args {"image_name": "image_to_use", "flavor_name": "flavor_to_use"}

# Generate Report
rally task report --out report.html