Merge "Add rally element"
This commit is contained in:
commit
50da841161
11
elements/rally/README.md
Normal file
11
elements/rally/README.md
Normal file
@ -0,0 +1,11 @@
|
||||
Installs Rally OpenStack benchmarking and profiling tool.
|
||||
|
||||
Overview
|
||||
--------
|
||||
|
||||
[Rally] (https://wiki.openstack.org/wiki/Rally) is a CLI tool (and optional API
|
||||
service) that allows you to test how your OpenStack installation performs at
|
||||
scale and find bottlenecks using the integrated profiler.
|
||||
|
||||
Wiki [HowTo page] (https://wiki.openstack.org/wiki/Rally/HowTo) provides examples
|
||||
how to use Rally.
|
2
elements/rally/elements-deps
Normal file
2
elements/rally/elements-deps
Normal file
@ -0,0 +1,2 @@
|
||||
os-svc-install
|
||||
source-repositories
|
3
elements/rally/environment.d/10-rally-venv-dir.bash
Normal file
3
elements/rally/environment.d/10-rally-venv-dir.bash
Normal file
@ -0,0 +1,3 @@
|
||||
if [ -z "${RALLY_VENV_DIR:-}" ]; then
|
||||
export RALLY_VENV_DIR=${OPENSTACK_VENV_DIR:-"/opt/stack/venvs/rally"}
|
||||
fi
|
12
elements/rally/install.d/rally-source-install/51-rally
Executable file
12
elements/rally/install.d/rally-source-install/51-rally
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eux
|
||||
|
||||
install-packages libpq-dev python-dev libevent-dev libssl-dev libffi-dev
|
||||
|
||||
os-svc-install -u rally -r /opt/stack/rally
|
||||
|
||||
ln -sf $RALLY_VENV_DIR/bin/rally /usr/local/bin/rally
|
||||
ln -sf $RALLY_VENV_DIR/bin/rally-manage /usr/local/bin/rally-manage
|
||||
|
||||
$RALLY_VENV_DIR/bin/rally-manage db recreate
|
1
elements/rally/source-repository-rally
Normal file
1
elements/rally/source-repository-rally
Normal file
@ -0,0 +1 @@
|
||||
rally git /opt/stack/rally https://git.openstack.org/stackforge/rally
|
Loading…
Reference in New Issue
Block a user