Commit ddf33847 authored by Leigh Stoller's avatar Leigh Stoller

State machine fix for remote nodes; if still in INIT_CLEAN, no need to

tear them down since os_setup has not tried to set them up yet.
parent 64eb57af
......@@ -218,9 +218,15 @@ foreach my $node (@nodes) {
next;
}
}
elsif ($killmode && $allocstate eq TBDB_ALLOCSTATE_DOWN) {
print "$node failed to boot; skipping $mode.\n";
next;
elsif ($killmode) {
if ($allocstate eq TBDB_ALLOCSTATE_DOWN) {
print "$node failed to boot; skipping $mode.\n";
next;
}
elsif ($allocstate eq TBDB_ALLOCSTATE_RES_INIT_CLEAN()) {
print "$node never booted; skipping $mode.\n";
next;
}
}
}
}
......
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