Add rally-jobs folder to get rally support
This patch set adds rally-jobs folder with watcher.yaml scenario to get rally support for Watcher project Change-Id: Icb8eace045d86a9b78b543a8a49fe747f4b00772
This commit is contained in:
committed by
Antoine Cabot
parent
9918f59227
commit
af7871831a
1
doc/source/dev/rally_link.rst
Normal file
1
doc/source/dev/rally_link.rst
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.. include:: ../../../rally-jobs/README.rst
|
||||||
@@ -57,6 +57,7 @@ Getting Started
|
|||||||
deploy/configuration
|
deploy/configuration
|
||||||
deploy/conf-files
|
deploy/conf-files
|
||||||
dev/testing
|
dev/testing
|
||||||
|
dev/rally_link
|
||||||
|
|
||||||
API References
|
API References
|
||||||
--------------
|
--------------
|
||||||
|
|||||||
42
rally-jobs/README.rst
Normal file
42
rally-jobs/README.rst
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
Rally job
|
||||||
|
=========
|
||||||
|
|
||||||
|
We provide, with Watcher, a Rally plugin you can use to benchmark the optimization service.
|
||||||
|
|
||||||
|
To launch this task with configured Rally you just need to run:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
rally task start watcher/rally-jobs/watcher.yaml
|
||||||
|
|
||||||
|
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/*
|
||||||
|
|
||||||
|
* watcher.yaml is a task that is run in gates against OpenStack
|
||||||
|
deployed by DevStack
|
||||||
|
|
||||||
|
|
||||||
|
Useful links
|
||||||
|
------------
|
||||||
|
|
||||||
|
* How to install: http://docs.openstack.org/developer/rally/install.html
|
||||||
|
|
||||||
|
* How to set Rally up and launch your first scenario: https://rally.readthedocs.io/en/latest/tutorial/step_1_setting_up_env_and_running_benchmark_from_samples.html
|
||||||
|
|
||||||
|
* More about Rally: https://rally.readthedocs.org/en/latest/
|
||||||
|
|
||||||
|
* Rally release notes: https://rally.readthedocs.org/en/latest/release_notes.html
|
||||||
|
|
||||||
|
* How to add rally-gates: https://rally.readthedocs.org/en/latest/gates.html
|
||||||
|
|
||||||
|
* About plugins: https://rally.readthedocs.org/en/latest/plugins.html
|
||||||
|
|
||||||
|
* Plugin samples: https://github.com/openstack/rally/tree/master/samples/plugins
|
||||||
67
rally-jobs/watcher-watcher.yaml
Normal file
67
rally-jobs/watcher-watcher.yaml
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
---
|
||||||
|
Watcher.create_audit_and_delete:
|
||||||
|
-
|
||||||
|
runner:
|
||||||
|
type: "constant"
|
||||||
|
times: 10
|
||||||
|
concurrency: 2
|
||||||
|
context:
|
||||||
|
users:
|
||||||
|
tenants: 2
|
||||||
|
users_per_tenant: 2
|
||||||
|
audit_templates:
|
||||||
|
audit_templates_per_admin: 5
|
||||||
|
fill_strategy: "round_robin"
|
||||||
|
params:
|
||||||
|
- goal:
|
||||||
|
name: "dummy"
|
||||||
|
strategy:
|
||||||
|
name: "dummy"
|
||||||
|
extra: {}
|
||||||
|
sla:
|
||||||
|
failure_rate:
|
||||||
|
max: 0
|
||||||
|
|
||||||
|
Watcher.create_audit_template_and_delete:
|
||||||
|
-
|
||||||
|
args:
|
||||||
|
goal:
|
||||||
|
name: "dummy"
|
||||||
|
strategy:
|
||||||
|
name: "dummy"
|
||||||
|
extra: {}
|
||||||
|
runner:
|
||||||
|
type: "constant"
|
||||||
|
times: 10
|
||||||
|
concurrency: 2
|
||||||
|
sla:
|
||||||
|
failure_rate:
|
||||||
|
max: 0
|
||||||
|
|
||||||
|
Watcher.list_audit_templates:
|
||||||
|
-
|
||||||
|
runner:
|
||||||
|
type: "constant"
|
||||||
|
times: 10
|
||||||
|
concurrency: 2
|
||||||
|
context:
|
||||||
|
users:
|
||||||
|
tenants: 2
|
||||||
|
users_per_tenant: 2
|
||||||
|
audit_templates:
|
||||||
|
audit_templates_per_admin: 5
|
||||||
|
fill_strategy: "random"
|
||||||
|
params:
|
||||||
|
- goal:
|
||||||
|
name: "workload_balancing"
|
||||||
|
strategy:
|
||||||
|
name: "workload_stabilization"
|
||||||
|
extra: {}
|
||||||
|
- goal:
|
||||||
|
name: "dummy"
|
||||||
|
strategy:
|
||||||
|
name: "dummy"
|
||||||
|
extra: {}
|
||||||
|
sla:
|
||||||
|
failure_rate:
|
||||||
|
max: 0
|
||||||
Reference in New Issue
Block a user