Commit b326f05e authored by Leigh B. Stoller's avatar Leigh B. Stoller

Move eventsys start till after os_setup finishes so that all nodes

have been rebooted (no longer in ISUP state).
parent 62e9aee6
......@@ -141,13 +141,6 @@ if (system("named_setup")) {
#
}
print "Starting the event system.\n";
if (system("eventsys_control start $pid $eid")) {
print STDERR "*** Failed to start the event system.\n";
cleanup;
exit(1);
}
#
# Since it'll take a while for the nodes to reboot, we'll start now, and
# wait for the os_setup to finish, down below
......@@ -206,6 +199,18 @@ if ($kid == $os_setup_pid) {
exit(1);
}
#
# Okay, start the event system now that we know all the nodes have
# rebooted (os_setup is done). This only takes a moment (puts itself
# in the background), so its not enough of a delay to worry about.
#
print "Starting the event system.\n";
if (system("eventsys_control start $pid $eid")) {
print STDERR "*** Failed to start the event system.\n";
cleanup;
exit(1);
}
# Accounting info.
TBSetExpSwapTime($pid, $eid);
......
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