From bc1a2dbda78ee4170b7ef8353dc516b151a187e1 Mon Sep 17 00:00:00 2001 From: Elena Gryaznova Date: Wed, 13 Jan 2010 23:00:58 +0300 Subject: [PATCH] b=20918 improve log warning i=Brian --- lustre/tests/recovery-mds-scale.sh | 5 ++++- lustre/tests/recovery-random-scale.sh | 8 +++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/lustre/tests/recovery-mds-scale.sh b/lustre/tests/recovery-mds-scale.sh index 9b1bed2..6d20c00 100644 --- a/lustre/tests/recovery-mds-scale.sh +++ b/lustre/tests/recovery-mds-scale.sh @@ -261,7 +261,10 @@ while [ $ELAPSED -lt $DURATION -a ! -e $END_RUN_FILE ]; do if [ $sleep -lt $MINSLEEP ]; then reqfail=$((reqfail +1)) log "WARNING: failover and two check_client_loads time exceeded SERVER_FAILOVER_PERIOD - MINSLEEP ! -Failed to meet interval $reqfail times ( REQFAIL=$REQFAIL ); have sleep=$sleep" +Failed to load the filesystem with I/O for a minimum period of $MINSLEEP $reqfail times ( REQFAIL=$REQFAIL ). +This iteration, the load was only applied for sleep=$sleep seconds. +Probably the hardware is taking excessively long to boot. +Try to increase SERVER_FAILOVER_PERIOD (current is $SERVER_FAILOVER_PERIOD), bug 20918" [ $reqfail -gt $REQFAIL ] && exit 6 fi diff --git a/lustre/tests/recovery-random-scale.sh b/lustre/tests/recovery-random-scale.sh index 384c82b..c996677 100644 --- a/lustre/tests/recovery-random-scale.sh +++ b/lustre/tests/recovery-random-scale.sh @@ -291,9 +291,11 @@ while [ $ELAPSED -lt $DURATION -a ! -e $END_RUN_FILE ]; do # the value ( SERVER_FAILOVER_PERIOD - MINSLEEP ) if [ $sleep -lt $MINSLEEP ]; then reqfail=$((reqfail +1)) - log "WARNING: failover, client reintegration and check_client_loads time -exceeded SERVER_FAILOVER_PERIOD - MINSLEEP ! -Failed to meet interval $reqfail times ( REQFAIL=$REQFAIL ); have sleep=$sleep" + log "WARNING: failover, client reintegration and check_client_loads time exceeded SERVER_FAILOVER_PERIOD - MINSLEEP ! +Failed to load the filesystem with I/O for a minimum period of $MINSLEEP $reqfail times ( REQFAIL=$REQFAIL ). +This iteration, the load was only applied for sleep=$sleep seconds. +Probably the hardware is taking excessively long to boot. +Try to increase SERVER_FAILOVER_PERIOD (current is $SERVER_FAILOVER_PERIOD), bug 20918" [ $reqfail -gt $REQFAIL ] && exit 6 fi -- 1.8.3.1