Andrey Kurilin
859924eeb4
Various improvements for rally-task-at-devstack job
* Move zuul configuration to .zuul.d directory. It allows to place job definitions into separate files (we have a lot of jobs). * Copy `extra` files to the right folder * Add check for rally results directory existance before fetching it * Stop play if `rally task start` fails with unexpected error code * Export RALLY_PLUGINS_DIR and RALLY_EXTRA_DIR environment variables before launching rally task, to provide backward compatibility. (see https://github.com/openstack/mistral/blob/master/rally-jobs/task-mistral.yaml#L1 ) * Save one line message about happened error * Load custom plugins Change-Id: I1004afb29b9c173e414c59ef54bf58458b5d9422
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 --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 Repot
rally task report --out report.html
Links
- Free software: Apache license
- Documentation: https://rally.readthedocs.org/en/latest/
- Source: https://git.openstack.org/cgit/openstack/rally
- Bugs: https://bugs.launchpad.net/rally
- Step-by-step tutorial: https://rally.readthedocs.io/en/latest/quick_start/tutorial.html
- Launchpad page: https://launchpad.net/rally
- Gitter chat: https://gitter.im/rally-dev/Lobby
- Trello board: https://trello.com/b/DoD8aeZy/rally
Description
Languages
Python
99.4%
HTML
0.3%
Shell
0.3%