Commit e1b1975e authored by Leigh Stoller's avatar Leigh Stoller

Some sanity checking for missing table rows on new nodes that people

add by hand.
parent 95c78fdf
......@@ -1129,6 +1129,13 @@ if ($widearea && ! defined($component_name)) {
# normally get assigned. We want to include them, though, because we
# allow people to do fix-node to down nodes
#
if (!defined($status)) {
fatal("status not defined for $physnode\n");
}
if (!defined($mpid) || !defined($meid)) {
fatal("pid,eid not defined for $physnode\n");
}
if (($status && ($status ne 'up')) ||
($mpid eq $DEADPID && $meid eq $DEADEID)) {
# But not in genimode.
......
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