Commit efd64bad authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fix to make the pg nodes reboot out of the "mfs" since they

start out in ISUP. We need to be using os_setup from here at some
parent 8a502b28
......@@ -903,7 +903,10 @@ sub Start($$$)
# reboot the physnode since we might only be adding a new node
# in which case, a full reboot is wrong.
if (! $node->IsUp()) {
if (! $node->IsUp() ||
# This catches the pg nodes which are in ISUP while free.
($sliver->status() eq "created" && !defined($vnode))) {
# We should be using allocstatus.
if ($sliver->state() eq "stopped" && !defined($vnode)) {
$poweron{$node->node_id} = $node;
Supports Markdown
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