@@ -19,6 +19,13 @@ The following software environment is needed:
19
19
* OpenStack admin credentials, eg public-openrc.sh from kayobe-config/etc/kolla
20
20
* A virtualenv setup with python-openstackclient installed
21
21
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
+
22
29
Setup Rally for a new user
23
30
--------------------------
24
31
@@ -29,16 +36,17 @@ Install Rally into the virtualenv:
29
36
30
37
.. code-block :: shell
31
38
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
34
41
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:
36
44
37
45
.. code-block :: shell
38
46
39
47
mkdir -p ~ /.rally ~ /rally/data
40
48
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
42
50
rally db recreate
43
51
rally verify create-verifier --name default --type tempest
44
52
rally deployment create --fromenv --name production
0 commit comments