aboutsummaryrefslogtreecommitdiff
path: root/docker/rally
diff options
context:
space:
mode:
authorzhubingbing <zhu.bingbing@99cloud.net>2017-05-25 11:14:21 +0800
committerzhubingbing <zhu.bingbing@99cloud.net>2017-05-31 15:55:09 +0800
commitaa7c7d5279d31020c60198f657c9438bc01ac7e0 (patch)
tree9d5490f54da59739dcbc75031ddfb2a56a1d5803 /docker/rally
parent02f136025c085ab57520e49f307b04f3f16957b0 (diff)
downloadkolla-aa7c7d5279d31020c60198f657c9438bc01ac7e0.tar.gz
kolla-aa7c7d5279d31020c60198f657c9438bc01ac7e0.zip
Fix rally create verifier error
rally create verifier(temptest) need os-testr package Change-Id: Id68304ae4396ab0173f0a25319df2dbef5257662 Closes-Bug: #1693171
Diffstat (limited to 'docker/rally')
-rw-r--r--docker/rally/Dockerfile.j213
1 files changed, 10 insertions, 3 deletions
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 \