6bb572e046
We are not able to use relative imports for plugins that are outside of rally package. To fix this we should add to sys.path all directories with Rally plugins. This is quite easy fix. But in any case it includes functional test that checks that this actually works in real life. + Fix of Rally gates to copy whole tree not just *.py files from rally-jobs/plugins/ Change-Id: Ie53dc2ba5c32a5e83d84d0ea5703e2e04b10ff33 Closes-bug: #1446923 |
||
---|---|---|
.. | ||
extra | ||
plugins | ||
rally_args.yaml | ||
rally-designate.yaml | ||
rally-mistral.yaml | ||
rally-mos_neutron.yaml | ||
rally-mos.yaml | ||
rally-murano.yaml | ||
rally-neutron.yaml | ||
rally-zaqar.yaml | ||
rally.yaml | ||
README.rst | ||
unstable-neutron.yaml |
Rally job related files
This directory contains rally tasks and plugins that are run by OpenStack CI.
Structure
- plugins - directory where you can add rally plugins. Almost everything in Rally is a plugin. Benchmark context, Benchmark scenario, SLA checks, Generic cleanup resources, ....
- extra - all files from this directory will be copy pasted to gates, so you are able to use absolute paths in rally tasks. Files will be located in ~/.rally/extra/*
- rally.yaml is a task that is run in gates against OpenStack (nova network)
- rally-neutron.yaml is a task that is run in gates against OpenStack with Neutron Service
- rally-designate.yaml is a task that is run in gates against OpenStack with Designate Service. It's experimental job. To trigger make a review with "check experimental" text.
- rally-zaqar.yaml is a task that is run in gates against OpenStack with Zaqar Service. It's experimental job. To trigger make a review with "check experimental" text.
Useful links
- More about Rally: https://rally.readthedocs.org/en/latest/
- How to add rally-gates: https://rally.readthedocs.org/en/latest/rally_gatejob.html
- About plugins: https://rally.readthedocs.org/en/latest/plugins.html
- Plugin samples: https://github.com/openstack/rally/tree/master/samples/plugins