diff options
author | Tim Rozet <trozet@redhat.com> | 2018-07-27 11:23:12 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-07-27 11:23:12 -0400 |
commit | 249d9ff7cdad204ee92f8d243f1aee00c8929f98 (patch) | |
tree | 911405012b1b7835738814467b701384a20717b9 /jjb | |
parent | 5c8fa3362658be5e8f8551704065fe3a18dbcc60 (diff) |
CPERF: Disable host key check with ansible
Also minor debug statements for snap deploy
Change-Id: I9a6c2744ac9b9da920666f84c05e46af858613e6
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/apex/apex-snapshot-deploy.sh | 5 | ||||
-rwxr-xr-x | jjb/cperf/cperf-robot-netvirt-csit.sh | 1 |
2 files changed, 5 insertions, 1 deletions
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 |