From 269136e27871efc67e166d12313cded04e4827e2 Mon Sep 17 00:00:00 2001 From: David Johnson Date: Mon, 17 Sep 2007 23:00:10 +0000 Subject: [PATCH] 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). --- tbsetup/os_setup.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tbsetup/os_setup.in b/tbsetup/os_setup.in index 9733410f9..4af566a5e 100755 --- a/tbsetup/os_setup.in +++ b/tbsetup/os_setup.in @@ -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(); } # -- GitLab