Commit 3536b5d6 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

BUG FIX: Conflated "stopped" and "new" states when actually booting.

parent 7a34c981
......@@ -794,7 +794,7 @@ sub Start($$$)
# Look to see if local physical node was stopped (powered off).
#
if (!$node->isremotenode() &&
$sliver->state() eq "stopped") {
($sliver->state() eq "stopped" || $sliver->state() eq "new")) {
$poweron{$node->node_id} = $node;
}
else {
......@@ -1018,7 +1018,8 @@ sub Stop($$)
# in the stopped state. Skip those.
#
next
if ($sliver->state() eq "stopped");
if ($sliver->state() eq "stopped"
|| $sliver->state() eq "new");
if ($node->isvirtnode()) {
$vnodes{$node->node_id} = $node;
......
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