From be40017d00ed067dcf93635d07d0a05b5ea3d241 Mon Sep 17 00:00:00 2001 From: Adam Saleh Date: Thu, 22 Jul 2021 20:01:03 +0200 Subject: [PATCH] Change the syncHttp timeout to 2h max, comment out the misbehaving proxy09 --- roles/base/files/syncHttpLogs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/base/files/syncHttpLogs.sh b/roles/base/files/syncHttpLogs.sh index 50bd28d0b6..28cd2a220c 100644 --- a/roles/base/files/syncHttpLogs.sh +++ b/roles/base/files/syncHttpLogs.sh @@ -27,7 +27,7 @@ function syncHttpLogs { echo "${HOST}: Getting ${RSYNC_OUTPUT} and saving to ${DEST}" fi for i in 2 1 0; do - timeout 12h /usr/bin/rsync $RSYNC_FLAGS $HOST::log/httpd/$f ./$DEST &> /dev/null && break + timeout 2h /usr/bin/rsync $RSYNC_FLAGS $HOST::log/httpd/$f ./$DEST &> /dev/null && break if [[ $? -ne 0 ]]; then echo "rsync from $HOST for file $f failed, will repeat $i times" fi @@ -43,7 +43,7 @@ syncHttpLogs proxy04.vpn.fedoraproject.org syncHttpLogs proxy05.vpn.fedoraproject.org syncHttpLogs proxy06.vpn.fedoraproject.org # syncHttpLogs proxy08.vpn.fedoraproject.org -syncHttpLogs proxy09.vpn.fedoraproject.org +# syncHttpLogs proxy09.vpn.fedoraproject.org # proxy09 is acting up syncHttpLogs proxy10.iad2.fedoraproject.org syncHttpLogs proxy11.vpn.fedoraproject.org syncHttpLogs proxy12.vpn.fedoraproject.org