From 249d9ff7cdad204ee92f8d243f1aee00c8929f98 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Fri, 27 Jul 2018 11:23:12 -0400 Subject: [PATCH] CPERF: Disable host key check with ansible Also minor debug statements for snap deploy Change-Id: I9a6c2744ac9b9da920666f84c05e46af858613e6 Signed-off-by: Tim Rozet --- jjb/apex/apex-snapshot-deploy.sh | 5 ++++- jjb/cperf/cperf-robot-netvirt-csit.sh | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/jjb/apex/apex-snapshot-deploy.sh b/jjb/apex/apex-snapshot-deploy.sh index 3b8f3ac12..6a8a140bd 100644 --- a/jjb/apex/apex-snapshot-deploy.sh +++ b/jjb/apex/apex-snapshot-deploy.sh @@ -33,8 +33,11 @@ if ! wget -O $WORKSPACE/opnfv.properties ${full_snap_url}/snapshot.properties; t exit 1 fi +echo "Properties contents:" +cat ${WORKSPACE}/opnfv.properties + # find latest check sum -latest_snap_checksum=$(cat opnfv.properties | grep OPNFV_SNAP_SHA512SUM | awk -F "=" '{print $2}') +latest_snap_checksum=$(cat ${WORKSPACE}/opnfv.properties | grep OPNFV_SNAP_SHA512SUM | awk -F "=" '{print $2}') if [ -z "$latest_snap_checksum" ]; then echo "ERROR: checksum of latest snapshot from snapshot.properties is null!" exit 1 diff --git a/jjb/cperf/cperf-robot-netvirt-csit.sh b/jjb/cperf/cperf-robot-netvirt-csit.sh index 4ed85950d..5e7825061 100755 --- a/jjb/cperf/cperf-robot-netvirt-csit.sh +++ b/jjb/cperf/cperf-robot-netvirt-csit.sh @@ -69,6 +69,7 @@ fi # FIXME(trozet) remove this once it is fixed in csit # Upload glance image into openstack wget -O ${WORKSPACE}/cirros-0.3.5-x86_64-disk.img http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img +export ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i ${CONTROLLER_1_IP}, -u heat-admin --key-file ${WORKSPACE}/id_rsa ${REL_PATH}/cirros-upload.yaml.ansible -vvv LOGS_LOCATION=/tmp/robot_results -- 2.16.6