From 3abe8da2d0333342c1c9af3ac20d4e5d3c90c302 Mon Sep 17 00:00:00 2001 From: Sergey Reshetnyak Date: Tue, 24 Jan 2017 17:08:29 +0300 Subject: [PATCH] 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 --- docker/rally-tempest/Dockerfile.j2 | 2 +- service/files/run-tempest.sh.j2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/rally-tempest/Dockerfile.j2 b/docker/rally-tempest/Dockerfile.j2 index f3eab9d..80520b1 100644 --- a/docker/rally-tempest/Dockerfile.j2 +++ b/docker/rally-tempest/Dockerfile.j2 @@ -6,7 +6,7 @@ MAINTAINER {{ maintainer }} RUN useradd --user-group --create-home --home-dir /var/lib/rally rally \ && chmod 755 /var/lib/rally \ - && /var/lib/microservices/venv/bin/pip install -r /tempest/requirements.txt --upgrade /rally \ + && /var/lib/microservices/venv/bin/pip install /rally \ && rm -fr /rally \ && mv /tempest /var/lib/rally/tempest diff --git a/service/files/run-tempest.sh.j2 b/service/files/run-tempest.sh.j2 index fd49d19..7828266 100644 --- a/service/files/run-tempest.sh.j2 +++ b/service/files/run-tempest.sh.j2 @@ -23,7 +23,7 @@ EOF rally-manage db create rally deployment create --fromenv --name=tempest -rally verify install --system-wide --source /var/lib/rally/tempest +rally verify install --source /var/lib/rally/tempest prepare_tempest_conf @@ -32,6 +32,6 @@ rally verify showconfig os_release="{{ rally.openstack_release }}" -rally verify start --system-wide --skip-list "/var/lib/rally/${os_release}-skip-list.list" +rally verify start --skip-list "/var/lib/rally/${os_release}-skip-list.list" rally verify results | /var/lib/rally/check_status.py