A collection of plugins for Rally framework designed for the OpenStack platform.
Go to file
Will Szumski a718e27474 fix number of users for NeutronSubnets.delete_subnets
The NeutronSubnets.delete_subnets scenario assumes that the number of
users per tenant is greater or equal to the number of subnets per
network:

ed524c07c1/rally_openstack/scenarios/neutron/network.py

Note that `number` is set to the index of the user in the `users` list.
If there are fewer users than subnets, this means that a request to
delete the subnet is submitted more than once - resulting in
failures.

This change fixes the number of users per tenant to the same value as
the number of subnets per network. Additionally, we must use round robin
user selection to ensure that the same user is not selected twice.

Change-Id: I387705ad9c5ca9179b6079a49dd39ed9b9361a03
2019-11-10 02:06:43 +00:00
.zuul.d Merge "Add python3 functional gate" 2019-08-06 00:44:11 +00:00
devstack Octaiva Load Balancing CI 2019-07-02 16:56:40 +00:00
etc Change openstack-dev to openstack-discuss 2018-12-26 22:21:17 +08:00
rally-jobs Merge "Add barbican scenarios for orders" 2019-08-08 17:09:30 +00:00
rally_openstack Merge "Add barbican scenarios for orders" 2019-08-08 17:09:30 +00:00
samples Merge "Add barbican scenarios for orders" 2019-08-08 17:09:30 +00:00
tasks fix number of users for NeutronSubnets.delete_subnets 2019-11-10 02:06:43 +00:00
tests Merge "Add barbican scenarios for orders" 2019-08-08 17:09:30 +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 OpenDev Migration Patch 2019-04-19 19:26:34 +00:00
CHANGELOG.rst Update logging of users context 2019-07-10 12:16:01 +03:00
CONTRIBUTING.rst Fix content of CONTRIBUTING.rst 2019-01-08 09:46:41 +01:00
Dockerfile [docker] Ensure that we hae all sys packages installed 2019-04-05 15:39:12 +03:00
LICENSE Initial commit 2013-08-03 09:17:25 -07:00
README.rst Fixed README typo 2018-08-15 00:46:20 -04:00
bindep.txt Update links in bindep.txt 2018-01-16 12:17:17 +08:00
requirements.txt Bump version of os-faults to 0.2.0 2019-01-08 09:35:38 +01:00
setup.cfg Remove support for py34 2018-12-19 11:22:54 -05:00
setup.py Updated from global requirements 2015-09-22 10:45:07 +00:00
test-requirements.txt Update requirements 2018-08-17 15:42:54 +03:00
tox.ini Add python3 functional gate 2019-07-29 13:12:11 +00:00
upper-constraints.txt [verify ci] Fix various issues for `rally verify tempest` 2019-07-03 05:16:59 +00:00

README.rst

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.yaml

# 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