Hello!
>SLURM version 2.2.5 is now available with the bug fixes listed below.
[.......]
> -- Set powered down node's state to IDLE+POWER after slurmctld restart instead
> of leaving in UNKNOWN+POWER. Patch from Andrej Gritsenko.
Yet another problem found - if controller got restarted at the moment
when it wakes nodes then nodes are saved in state NODE_STATE_POWER_UP on
terminating and are unusable after. Patch to fix the issue is included.
Andriy.diff -udpr slurm-2.2.3.new4/src/slurmctld/node_mgr.c slurm-2.2.3.new4-1/src/slurmctld/node_mgr.c
--- slurm-2.2.3.new4/src/slurmctld/node_mgr.c 2011-03-30 17:35:58.000000000 +0300
+++ slurm-2.2.3.new4-1/src/slurmctld/node_mgr.c 2011-05-05 17:42:07.000000000 +0300
@@ -2051,7 +2051,8 @@ static void _node_did_resp(struct node_r
node_inx = node_ptr - node_record_table_ptr;
node_ptr->last_response = now;
- resp_state = node_ptr->node_state & NODE_STATE_NO_RESPOND;
+ resp_state = node_ptr->node_state & (NODE_STATE_NO_RESPOND |
+ NODE_STATE_POWER_UP);
if (resp_state) {
info("Node %s now responding", node_ptr->name);
last_node_update = now;