From 679c5f5ca0e905ccb9b8c67603f068bbff9a506c Mon Sep 17 00:00:00 2001 From: Michael Chapman Date: Mon, 11 Jul 2016 21:10:04 -0400 Subject: Prevent printing remote md5 sum If the remote file is a binary or other junk, we don't want to print it to the console, so just state it's not a match for now. Add puppet logging hack to help debug CI Change-Id: Ia4717ee0cf7a2fc01299d0819c49218487ffdf15 Signed-off-by: Michael Chapman --- build/cache.sh | 2 +- build/overcloud-full.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'build') diff --git a/build/cache.sh b/build/cache.sh index 123748a2..4d41a7a2 100644 --- a/build/cache.sh +++ b/build/cache.sh @@ -60,7 +60,7 @@ function populate_cache { else my_md5=$(grep ${filename} $CACHE_DIR/.cache | awk {'print $1'}) if [ "$remote_md5" != "$my_md5" ]; then - echo "MD5 mismatch: Remote MD5 is ${remote_md5}, Cache file MD5 is ${my_md5}" + echo "MD5 mismatch, cache file MD5 is ${my_md5}" echo "Downloading $filename" curl_file $1 $filename else diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh index 73709a28..01f40269 100755 --- a/build/overcloud-full.sh +++ b/build/overcloud-full.sh @@ -83,6 +83,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \ --upload puppet-congress.tar.gz:/etc/puppet/modules/ \ --run-command "cd /etc/puppet/modules/ && tar xzf puppet-congress.tar.gz" \ --run-command "cd /usr/lib/python2.7/site-packages/congress/datasources && curl -O $doctor_driver" \ + --run-command "sed -i \"s/'--detailed-exitcodes',/'--detailed-exitcodes','-l','syslog','-l','console',/g\" /var/lib/heat-config/hooks/puppet" \ -a overcloud-full_build.qcow2 mv -f overcloud-full_build.qcow2 overcloud-full.qcow2 -- cgit 1.2.3-korg