Fix openrc OS_CACERT for yardstick docker container 25/61825/1
authorFatih Degirmenci <fdegir@gmail.com>
Tue, 4 Sep 2018 21:48:52 +0000 (23:48 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Tue, 4 Sep 2018 21:48:52 +0000 (23:48 +0200)
The openrc should contain the path to OS_CACERT within container, not
on opnfv vm.

Change-Id: Ief4cb4ae647ff0f2cd4f3ebe8a2993bb71b0363f
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
xci/playbooks/roles/prepare-tests/templates/run-yardstick.sh.j2

index 5eaf7bd..82cf0ea 100644 (file)
@@ -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 \