From aa7c7d5279d31020c60198f657c9438bc01ac7e0 Mon Sep 17 00:00:00 2001 From: zhubingbing Date: Thu, 25 May 2017 11:14:21 +0800 Subject: Fix rally create verifier error rally create verifier(temptest) need os-testr package Change-Id: Id68304ae4396ab0173f0a25319df2dbef5257662 Closes-Bug: #1693171 --- docker/rally/Dockerfile.j2 | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'docker') diff --git a/docker/rally/Dockerfile.j2 b/docker/rally/Dockerfile.j2 index 9f5075ced..eb08ae55a 100644 --- a/docker/rally/Dockerfile.j2 +++ b/docker/rally/Dockerfile.j2 @@ -10,9 +10,15 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% if install_type == 'binary' %} {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} - {% set rally_packages = ['openstack-rally'] %} + {% set rally_packages = [ + 'openstack-rally', + 'python-os-testr' + ] %} {% elif base_distro in ['debian', 'ubuntu'] %} - {% set rally_packages = ['rally'] %} + {% set rally_packages = [ + 'python-rally', + 'python-os-testr' + ] %} {% endif %} {{ macros.install_packages(rally_packages | customizable("packages")) }} {% elif install_type == 'source' %} @@ -20,7 +26,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build ADD rally-archive /rally-source {% set rally_pip_packages = [ - '/rally' + '/rally', + 'os-testr' ] %} RUN ln -s rally-source/* rally \ -- cgit v1.2.3