From 2894b77971cecc68f9c3e09387647cd7f837b671 Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Fri, 3 Oct 2014 15:16:14 -0700 Subject: [PATCH] Fix for resuming powered down node This permits a sys admin to power down a node that should already be powered down, but avoids setting the NO_RESPOND bit in the node state. Doing so under some conditions prevented the node from being scheduled. The downside is that the node could possibly be allocated when it really isn't ready for use. --- src/slurmctld/node_mgr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/slurmctld/node_mgr.c b/src/slurmctld/node_mgr.c index 5a39acea2c1..e01e0da2238 100644 --- a/src/slurmctld/node_mgr.c +++ b/src/slurmctld/node_mgr.c @@ -1291,9 +1291,6 @@ int update_node ( update_node_msg_t * update_node_msg ) node_ptr->last_idle = 0; node_ptr->node_state &= (~NODE_STATE_POWER_SAVE); - node_ptr->node_state |= - NODE_STATE_NO_RESPOND; - bit_clear(avail_node_bitmap, node_inx); info("power down request repeating " "for node %s", this_node_name); } else { -- GitLab