Skip to content
Snippets Groups Projects
Commit eb97c55b authored by Moe Jette's avatar Moe Jette
Browse files

Fix handling of node state change requests being processed prior to node

registration (in particular after changing state from UNKNOWN to DRAINING,
an inactive node was not registering to reset its state to DRAINED)
parent 4381dc8e
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,8 @@ documents those changes that are of interest to users and admins. ...@@ -13,6 +13,8 @@ documents those changes that are of interest to users and admins.
-- Modify security_2_2 test to function with release 0.3 -- Modify security_2_2 test to function with release 0.3
-- Fix broken rpm build when libslurm not already installed. -- Fix broken rpm build when libslurm not already installed.
-- New slurmd option -M to mlock() slurmd process into memory. -- New slurmd option -M to mlock() slurmd process into memory.
-- Fix node processing if state change requested via scontrol
prior to initial node registration.
* Changes in SLURM 0.3.0 * Changes in SLURM 0.3.0
======================== ========================
......
...@@ -174,8 +174,10 @@ void ping_nodes (void) ...@@ -174,8 +174,10 @@ void ping_nodes (void)
continue; continue;
} }
if (node_ptr->last_response == (time_t)0) if (node_ptr->last_response == (time_t)0) {
no_resp_flag = 1;
node_ptr->last_response = slurmctld_conf.last_update; node_ptr->last_response = slurmctld_conf.last_update;
}
/* Request a node registration if its state is UNKNOWN or /* Request a node registration if its state is UNKNOWN or
* on a periodic basis (about every MAX_REG_FREQUENCY ping, * on a periodic basis (about every MAX_REG_FREQUENCY ping,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment