Commit fe6d8aa0 authored by Holger Levsen's avatar Holger Levsen

reproducible: wait a bit longer before turning nodes offline automatically

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 7a0726c2
...@@ -161,14 +161,14 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then ...@@ -161,14 +161,14 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
reproducible_node_health_check_*) reproducible_node_health_check_*)
NODE_ALIAS=$(echo $i | cut -d '_' -f6) NODE_ALIAS=$(echo $i | cut -d '_' -f6)
NODE_ARCH=$(echo $i | cut -d '_' -f5) NODE_ARCH=$(echo $i | cut -d '_' -f5)
FORCE_DATE=$(date -u -d "2 hour ago" '+%Y-%m-%d %H:%M') FORCE_DATE=$(date -u -d "3 hour ago" '+%Y-%m-%d %H:%M')
MAXDIFF=8 MAXDIFF=12
;; ;;
reproducible_maintenance_*) reproducible_maintenance_*)
NODE_ALIAS=$(echo $i | cut -d '_' -f4) NODE_ALIAS=$(echo $i | cut -d '_' -f4)
NODE_ARCH=$(echo $i | cut -d '_' -f3) NODE_ARCH=$(echo $i | cut -d '_' -f3)
FORCE_DATE=$(date -u -d "5 hour ago" '+%Y-%m-%d %H:%M') FORCE_DATE=$(date -u -d "8 hour ago" '+%Y-%m-%d %H:%M')
MAXDIFF=2 MAXDIFF=3
;; ;;
esac esac
touch -d "$FORCE_DATE" $DUMMY_FILE touch -d "$FORCE_DATE" $DUMMY_FILE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment