Horizon Rally Dashboard for quick and easy running benchmark scenarios and viewing their results.
Installation
Add benchmark_dashboard to INSTALLED_APPS tuple.
The default path for scenario definitions is at /srv/rally/scenarios, but it altered with RALLY_ROOT variable in local_settings.py of your Horizon installation.
RALLY_ROOT = '/srv/rally/scenarios'
RALLY_DB = "mysql://rally:password@127.0.0.1/rally"
RALLY_PLUGINS = [
'rally.plugins.openstack',
'rally.plugins.common'
]
# or load all
RALLY_PLUGINS = [
'rally.plugins',
]
Create or clone your scenario definitions to default location /srv/rally/scenarios or set RALLY_ROOT variable to your location.
Usage
Serving scenarios
ls -la /srv/rally/scenarios/tasks/scenarios/nova/
boot-and-delete-multiple.yaml
boot-and-delete-server-with-keypairs.yaml
boot-and-delete-server-with-secgroups.yaml
boot-and-delete.yaml
boot-from-volume-and-delete.yaml
boot-snapshot-boot-delete.yaml
create-and-delete-secgroups.yaml
Long running tasks
Now a new Thread is created for every task, which may cause Horizon overload, but async task behaviour can be overwritten:
def run_async(method):
# call Celery or whatever
Thread(target=method, args=[]).start()
Set the method to benchmark_dashboard.utils.async to enable acynchronous task.
Read more
Metadata
Release files for horizon-benchmark-dashboard 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| horizon-benchmark-dashboard-1.0.0.tar.gz | 23.5 kB | Details |
Release files / horizon-benchmark-dashboard-1.0.0.tar.gz
| Download URL | horizon-benchmark-dashboard-1.0.0.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8826bed0f0ecee0ead23ca9b2a68b6de3543733db18068cf00df38e037189834
|
|
BLAKE2b-256 checksum How to use checksums |
44df246a739c7062b1275d8c3360ab5de99e4d0a39126addf3390d0015bf3612
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |