Skip to content
GitLab
Menu
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
4f8e03a5
Commit
4f8e03a5
authored
Oct 18, 2016
by
Mike Hibler
Browse files
Include stuck-in-PXEBOOTING as a case where we really reboot a node.
parent
6a090aef
Changes
1
Show whitespace changes
Inline
Side-by-side
event/stated/stated.in
View file @
4f8e03a5
...
@@ -1286,7 +1286,15 @@ sub handleCtrlEvent($$) {
...
@@ -1286,7 +1286,15 @@ sub handleCtrlEvent($$) {
# and that is typically quite large, we'll risk a
# and that is typically quite large, we'll risk a
# bad timeout interaction.
# bad timeout interaction.
#
#
if
("
$mode
/
$state
"
eq
"
NORMALv2/BOOTING
")
{
# XXX recent changes have allowed us to better
# differentiate PXEBOOTING (PXE ROM making a DHCP
# request) from BOOTING (OS making a DHCP request)
# so we can detect nodes stuck booting the OS.
# We include those here in the "really reboot"
# catagory.
#
if
("
$mode
/
$state
"
eq
"
NORMALv2/BOOTING
"
||
$state
eq
"
PXEBOOTING
")
{
handleCommand
(
$node
,
$TBREBOOT
,
$timedout
,
1
);
handleCommand
(
$node
,
$TBREBOOT
,
$timedout
,
1
);
}
else
{
}
else
{
notify
("
Node
$node
has timed out in state
"
.
notify
("
Node
$node
has timed out in state
"
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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