Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
2f44b953
Commit
2f44b953
authored
Oct 31, 2003
by
Leigh B. Stoller
Browse files
Fix up the code to move failed plab nodes into hwdown, which was
getting confused by canfail code.
parent
68ffe2ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/os_setup.in
View file @
2f44b953
...
...
@@ -723,6 +723,18 @@ elsif (@vnodelist) {
}
print
"
*** WARNING:
$node
did not boot!
\n
";
if
(
$plabvnodes
{
$node
})
{
#
# We move the pnode into hwdown so that it will not be considered
# again, until the plab monitor daemon determines that it is
# really working again.
#
MarkPhysNodeDown
(
$pnode
);
TBSetNodeLogEntry
(
$pnode
,
$dbuid
,
TB_DEFAULT_NODELOGTYPE
(),
"
'Moved to hwdown;
"
.
"
$node
(
$pid
/
$eid
) failed to setup'
");
}
if
(
$canfail
{
$node
})
{
# Send mail to testbed-ops and to the user about it.
...
...
@@ -745,15 +757,6 @@ elsif (@vnodelist) {
next
;
}
if
(
$plabvnodes
{
$node
})
{
#
# We move the pnode into hwdown so that it will not be considered
# again, until the plab monitor daemon determines that it is
# really working again.
#
MarkPhysNodeDown
(
$pnode
);
TBSetNodeLogEntry
(
$pnode
,
$dbuid
,
TB_DEFAULT_NODELOGTYPE
(),
"
'Moved to hwdown;
"
.
"
$node
(
$pid
/
$eid
) failed to setup'
");
$failedplab
++
;
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment