CPERF: Disable host key check with ansible 89/60289/1
authorTim Rozet <trozet@redhat.com>
Fri, 27 Jul 2018 15:23:12 +0000 (11:23 -0400)
committerTim Rozet <trozet@redhat.com>
Fri, 27 Jul 2018 15:23:12 +0000 (11:23 -0400)
Also minor debug statements for snap deploy

Change-Id: I9a6c2744ac9b9da920666f84c05e46af858613e6
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex-snapshot-deploy.sh
jjb/cperf/cperf-robot-netvirt-csit.sh

index 3b8f3ac..6a8a140 100644 (file)
@@ -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
index 4ed8595..5e78250 100755 (executable)
@@ -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