From: Fatih Degirmenci Date: Tue, 4 Sep 2018 21:48:52 +0000 (+0200) Subject: Fix openrc OS_CACERT for yardstick docker container X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F61825%2F1;p=releng-xci.git Fix openrc OS_CACERT for yardstick docker container The openrc should contain the path to OS_CACERT within container, not on opnfv vm. Change-Id: Ief4cb4ae647ff0f2cd4f3ebe8a2993bb71b0363f Signed-off-by: Fatih Degirmenci --- diff --git a/xci/playbooks/roles/prepare-tests/templates/run-yardstick.sh.j2 b/xci/playbooks/roles/prepare-tests/templates/run-yardstick.sh.j2 index 5eaf7bdb..82cf0eaf 100644 --- a/xci/playbooks/roles/prepare-tests/templates/run-yardstick.sh.j2 +++ b/xci/playbooks/roles/prepare-tests/templates/run-yardstick.sh.j2 @@ -19,7 +19,7 @@ DOCKER_IMAGE_NAME="opnfv/yardstick" YARDSTICK_SCENARIO_SUITE_NAME="opnfv_${DEPLOY_SCENARIO}_daily.yaml" # add OS_CACERT to openrc -echo "export OS_CACERT=$OS_CACERT" >> ~/openrc +echo "export OS_CACERT=/etc/yardstick/os_cacert" >> ~/openrc opts="--privileged=true --rm" envs="-e INSTALLER_TYPE=$INSTALLER_TYPE -e INSTALLER_IP=$INSTALLER_IP \