Skip to content

Commit aa515a1

Browse files
committed
Feedback from Pierre
1 parent a25646e commit aa515a1

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

source/rally_and_tempest.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ The following software environment is needed:
1919
* OpenStack admin credentials, eg public-openrc.sh from kayobe-config/etc/kolla
2020
* A virtualenv setup with python-openstackclient installed
2121

22+
.. code-block:: shell
23+
:substitutions:
24+
25+
source venv/bin/activate
26+
pip install python-openstackclient
27+
source |base_path|/src/|kayobe_config|/etc/kolla/public-openrc.sh
28+
2229
Setup Rally for a new user
2330
--------------------------
2431

@@ -29,16 +36,17 @@ Install Rally into the virtualenv:
2936

3037
.. code-block:: shell
3138
32-
pip3 install git+https://github.com/openstack/rally-openstack.git \
33-
--constraint https://raw.githubusercontent.com/openstack/rally-openstack/master/upper-constraints.txt
39+
pip install rally-openstack \
40+
--constraint https://opendev.org/openstack/rally-openstack/raw/branch/master/upper-constraints.txt
3441
35-
Create the Rally test database and configuration file:
42+
Create the Rally test database and configuration file. For this you will
43+
need the virtualenv and public-openrc as described above:
3644

3745
.. code-block:: shell
3846
3947
mkdir -p ~/.rally ~/rally/data
4048
echo "[database]" | tee ~/.rally/rally.conf
41-
echo "connection=sqlite:////home/${USER}/rally/data/rally.db" | tee -a ~/.rally/rally.conf
49+
echo "connection=sqlite://${HOME}/rally/data/rally.db" | tee -a ~/.rally/rally.conf
4250
rally db recreate
4351
rally verify create-verifier --name default --type tempest
4452
rally deployment create --fromenv --name production

0 commit comments

Comments
 (0)