From 447baf2c60bb6e72e6c956fbcaa17f37c92c8689 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dirk@dmllr.de>
Date: Thu, 6 Sep 2018 09:44:42 +0200
Subject: [PATCH] Skip occassional issues with mirroring
 openSUSE:Factory:Update

Thats a minor repo, and normally entirely empty. We should
be able to ignore syncing issues and still release the rest
of the AFS store successfully.

Change-Id: I96516cb8fef6ea1bdd0cf53799202e365b46142c
---
 .../openstack_project/files/mirror/opensuse-mirror-update.sh   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/openstack_project/files/mirror/opensuse-mirror-update.sh b/modules/openstack_project/files/mirror/opensuse-mirror-update.sh
index 74ed6118c7..5d6756c149 100644
--- a/modules/openstack_project/files/mirror/opensuse-mirror-update.sh
+++ b/modules/openstack_project/files/mirror/opensuse-mirror-update.sh
@@ -88,11 +88,12 @@ fi
 date --iso-8601=ns
 echo "Running rsync distribution $REPO ..."
 $K5START rsync -rlptDvz \
+    --timeout=600 \
     --delete --stats \
     --delete-excluded \
     --exclude="i586" \
     rsync://rsync.opensuse.org/buildservice-repos-main/openSUSE:/Factory:/Update/standard/ \
-    $BASE/$REPO
+    $BASE/$REPO || :
 
 date --iso-8601=ns | $K5START tee $BASE/timestamp.txt
 echo "rsync completed successfully, running vos release."