Commit 8cce56af authored by Leigh B. Stoller's avatar Leigh B. Stoller

Cleanup/clarify error messages printed when a node fails.

parent 4b076866
......@@ -266,8 +266,8 @@ foreach my $node ( @nodes ) {
}
SetNodeBootStatus($node, NODEBOOTSTATUS_FAILED);
print STDOUT "$node may be down. This has been reported to testbed-ops.\n";
print STDOUT "Please end this experiment, and try again.\n";
print STDOUT "*** Oops, $node may be down. ".
"This has been reported to testbed-ops.\n";
if ($canfail{$node}) {
# Send mail to testbed-ops and to the user about it.
......@@ -287,7 +287,7 @@ foreach my $node ( @nodes ) {
0,
"Cc: $TBOPS");
print STDERR "*** Oops, $node did not come back alive!\n";
print STDERR "*** Continuing with experiment setup anyway ...\n";
}
else {
# Reserve it to down experiment.
......@@ -301,7 +301,7 @@ foreach my $node ( @nodes ) {
"Thanks\n".
"Testbed Operations\n");
die("*** Oops, $node did not come back alive!\n");
die("*** Experiment will be now be terminated automatically.");
}
}
......
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