From 8b49f20a604d239a16693d30954db6cc217c16d2 Mon Sep 17 00:00:00 2001 From: Chandan kumar Date: Mon, 19 Aug 2019 17:33:15 +0530 Subject: [PATCH] Include iputils package to tempest container In TripleO side, tempest is consumed from container and it is built using Red Hat ubi image which does not have iputils installed and ping operation is common while running scenario tests. Adding iputils will install the ping command. Closes-Bug: #1840645 Change-Id: I5df5329bd7ee1e77556214be7ed264b9c00445e9 Signed-off-by: Chandan kumar --- docker/tempest/Dockerfile.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/tempest/Dockerfile.j2 b/docker/tempest/Dockerfile.j2 index ec0edf161d..a15465a2f1 100644 --- a/docker/tempest/Dockerfile.j2 +++ b/docker/tempest/Dockerfile.j2 @@ -9,10 +9,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% if install_type == 'binary' %} {% if base_package_type == 'rpm' %} - {% set tempest_packages = ['openstack-tempest-all'] %} + {% set tempest_packages = ['openstack-tempest-all', + 'iputils'] %} {% elif base_package_type == 'deb' %} - {% set tempest_packages = ['tempest'] %} + {% set tempest_packages = ['tempest', + 'iputils-ping'] %} {% endif %}