From 474d2e81fcda38e2d4ff6fac7c4d0b09d1f528d5 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 12 Oct 2017 19:58:57 -0400 Subject: [PATCH] Bump reprepro timeout up to 90m We've seen some issues with killing reprepro after 30mins, bump to 90m which is still under the 2hr crontab loop. This is to avoid killing reprepro when downloading a large updates and potentially corrupting our databases. Change-Id: I333302c00e36a029f9b3b4fa0c79ec4da7cec0ad Signed-off-by: Paul Belanger --- .../openstack_project/files/reprepro/reprepro-mirror-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/files/reprepro/reprepro-mirror-update.sh b/modules/openstack_project/files/reprepro/reprepro-mirror-update.sh index 2a974f5091..35956ffc48 100644 --- a/modules/openstack_project/files/reprepro/reprepro-mirror-update.sh +++ b/modules/openstack_project/files/reprepro/reprepro-mirror-update.sh @@ -21,7 +21,7 @@ MIRROR_VOLUME=$2 BASE=`cat ${REPREPRO_CONFIG}/options | grep base | cut -d' ' -f2` UNREF_FILE=/var/run/reprepro/${MIRROR_VOLUME}.unreferenced-files -K5START="k5start -t -f /etc/reprepro.keytab service/reprepro -- timeout -k 2m 30m" +K5START="k5start -t -f /etc/reprepro.keytab service/reprepro -- timeout -k 2m 90m" REPREPRO="$K5START reprepro --confdir $REPREPRO_CONFIG" date --iso-8601=ns