Browse Source

Install tempest requirements in tempest venv

Tempest not working with mitaka upper constraints due
https://bugzilla.redhat.com/show_bug.cgi?id=1344148

Change-Id: I3a11e15ff00aaed12885519e084db362e286e719
Sergey Reshetnyak 2 years ago
parent
commit
3abe8da2d0
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      docker/rally-tempest/Dockerfile.j2
  2. 2
    2
      service/files/run-tempest.sh.j2

+ 1
- 1
docker/rally-tempest/Dockerfile.j2 View File

@@ -6,7 +6,7 @@ MAINTAINER {{ maintainer }}
6 6
 
7 7
 RUN useradd --user-group --create-home --home-dir /var/lib/rally rally \
8 8
     && chmod 755 /var/lib/rally \
9
-    && /var/lib/microservices/venv/bin/pip install -r /tempest/requirements.txt --upgrade /rally \
9
+    && /var/lib/microservices/venv/bin/pip install /rally \
10 10
     && rm -fr /rally \
11 11
     && mv /tempest /var/lib/rally/tempest
12 12
 

+ 2
- 2
service/files/run-tempest.sh.j2 View File

@@ -23,7 +23,7 @@ EOF
23 23
 
24 24
 rally-manage db create
25 25
 rally deployment create --fromenv --name=tempest
26
-rally verify install --system-wide --source /var/lib/rally/tempest
26
+rally verify install --source /var/lib/rally/tempest
27 27
 
28 28
 prepare_tempest_conf
29 29
 
@@ -32,6 +32,6 @@ rally verify showconfig
32 32
 
33 33
 os_release="{{ rally.openstack_release }}"
34 34
 
35
-rally verify start --system-wide --skip-list "/var/lib/rally/${os_release}-skip-list.list"
35
+rally verify start --skip-list "/var/lib/rally/${os_release}-skip-list.list"
36 36
 
37 37
 rally verify results | /var/lib/rally/check_status.py

Loading…
Cancel
Save