[ARVADOS] updated: d5ddfd9d876a75327795793544d105051f2a306e
Git user
git at public.curoverse.com
Thu Feb 16 16:31:50 EST 2017
Summary of changes:
services/nodemanager/arvnodeman/nodelist.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
via d5ddfd9d876a75327795793544d105051f2a306e (commit)
from 425f9a753e4390215b95b794785efd38bbc5f42d (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 d5ddfd9d876a75327795793544d105051f2a306e
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Feb 16 16:31:43 2017 -0500
6520: Expand recognized 'busy' states.
diff --git a/services/nodemanager/arvnodeman/nodelist.py b/services/nodemanager/arvnodeman/nodelist.py
index 37142fe..6bf1a8b 100644
--- a/services/nodemanager/arvnodeman/nodelist.py
+++ b/services/nodemanager/arvnodeman/nodelist.py
@@ -30,7 +30,10 @@ class ArvadosNodeListMonitorActor(clientactor.RemotePollLoopActor):
nodestates = {}
for out in sinfo_out.splitlines():
nodename, state = out.split(" ", 2)
- if state in ('alloc', 'comp'):
+ if state in ('alloc', 'alloc*',
+ 'comp', 'comp*',
+ 'mix', 'mix*',
+ 'drng', 'drng*'):
nodestates[nodename] = 'busy'
elif state == 'idle':
nodestates[nodename] = 'idle'
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list