Commit 269136e2 authored by David Johnson's avatar David Johnson

Fix plabinelab swapmod case (node wasn't getting moved into RES_READY

after reboot in first swapmod, so it would be dealloc'd in the second
swapmod).
parent ec2ec1ea
......@@ -1659,6 +1659,10 @@ sub os_setup_one($$$)
if (nodereboot(\%reboot_args, $reboot_failures) != 0) {
return 0;
}
print "$node is alive and well\n";
SetNodeBootStatus($node, NODEBOOTSTATUS_OKAY);
TBSetNodeAllocState($node, TBDB_ALLOCSTATE_RES_READY());
$nodeAllocStates{$node} = TBDB_ALLOCSTATE_RES_READY();
}
#
......
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