Skip to content
Snippets Groups Projects
Commit 8a0375e6 authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=17634

i=Yury.Umanets
insanity cleanup (remove dup fn, sync with HEAD t-f)
parent c584acbe
No related branches found
No related tags found
No related merge requests found
......@@ -73,13 +73,6 @@ shutdown_client() {
fi
}
reboot_node() {
NODE=$1
if [ "$FAILURE_MODE" = HARD ]; then
$POWER_UP $NODE
fi
}
fail_clients() {
num=$1
......@@ -105,7 +98,7 @@ fail_clients() {
echo "down clients: $DOWN_CLIENTS"
for client in $DOWN_CLIENTS; do
reboot_node $client
boot_node $client
done
DOWN_NUM=`echo $DOWN_CLIENTS | wc -w`
client_rmdirs
......
......@@ -443,6 +443,13 @@ reboot_facet() {
fi
}
boot_node() {
local node=$1
if [ "$FAILURE_MODE" = HARD ]; then
$POWER_UP $node
fi
}
# verify that lustre actually cleaned up properly
cleanup_check() {
[ -f $CATASTROPHE ] && [ `cat $CATASTROPHE` -ne 0 ] && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment