[ARVADOS] updated: 11df73b96ae395fca11b4006253475046e3b74cc

git at public.curoverse.com git at public.curoverse.com
Thu Oct 1 09:30:43 EDT 2015


Summary of changes:
 services/nodemanager/arvnodeman/computenode/dispatch/slurm.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

       via  11df73b96ae395fca11b4006253475046e3b74cc (commit)
      from  2e919859109fe27d552b81b13d47aed61e80eca6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 11df73b96ae395fca11b4006253475046e3b74cc
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Oct 1 09:32:33 2015 -0400

    7286: Add drain* and fail* to SLURM_END_STATES, because the '*' means the node
    is out of contact with slurm.

diff --git a/services/nodemanager/arvnodeman/computenode/dispatch/slurm.py b/services/nodemanager/arvnodeman/computenode/dispatch/slurm.py
index 3c26629..225d856 100644
--- a/services/nodemanager/arvnodeman/computenode/dispatch/slurm.py
+++ b/services/nodemanager/arvnodeman/computenode/dispatch/slurm.py
@@ -10,7 +10,9 @@ from . import \
 from . import ComputeNodeShutdownActor as ShutdownActorBase
 
 class ComputeNodeShutdownActor(ShutdownActorBase):
-    SLURM_END_STATES = frozenset(['down\n', 'down*\n', 'drain\n', 'fail\n'])
+    SLURM_END_STATES = frozenset(['down\n', 'down*\n',
+                                  'drain\n', 'drain*\n',
+                                  'fail\n', 'fail*\n'])
 
     def on_start(self):
         arv_node = self._arvados_node()

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list