6520: Expand recognized 'busy' states.
[arvados.git] / services / nodemanager / arvnodeman / nodelist.py
index 37142fe83814d73fdec66d3fe0029998dfc941af..6bf1a8b4de0ff9b03215d3c739d98dea888f32f7 100644 (file)
@@ -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'