Give us longer to notice degraded boot
authorPeter Palfrader <peter@palfrader.org>
Sat, 14 Jul 2018 17:54:31 +0000 (19:54 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 14 Jul 2018 17:54:31 +0000 (19:54 +0200)
modules/ganeti2/files/ganeti-reboot-cluster

index 2e2a2ab..28f945b 100755 (executable)
@@ -109,7 +109,7 @@ reboot_host() {
   echo "[$(date)] $tgt is up.  Pausing for $sleep_time seconds"
   sleep "$sleep_time"
 
-  max_wait='15 minutes'
+  max_wait='180 minutes'
   wait_until=$(date -d "now +$max_wait" +%s)
   while ! ssh -n -l root "$tgt" systemctl is-system-running; do
     echo "[$(date)] $tgt is still booting up (will wait until $(date -d "@$wait_until")."