[ARVADOS] created: 43afe5cf4364c64b5022f912eaba2240c7cb0999
Git user
git at public.curoverse.com
Tue Aug 1 13:32:02 EDT 2017
at 43afe5cf4364c64b5022f912eaba2240c7cb0999 (commit)
commit 43afe5cf4364c64b5022f912eaba2240c7cb0999
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Tue Aug 1 13:31:44 2017 -0400
12057: Add "Priority" to list of reasons to boot a new node.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curoverse.com>
diff --git a/services/nodemanager/arvnodeman/jobqueue.py b/services/nodemanager/arvnodeman/jobqueue.py
index fa1ea98..4d2d3e0 100644
--- a/services/nodemanager/arvnodeman/jobqueue.py
+++ b/services/nodemanager/arvnodeman/jobqueue.py
@@ -156,7 +156,7 @@ class JobQueueMonitorActor(clientactor.RemotePollLoopActor):
for out in squeue_out.splitlines():
try:
cpu, ram, disk, reason, jobname = out.split("|", 4)
- if ("ReqNodeNotAvail" in reason) or ("Resources" in reason):
+ if ("ReqNodeNotAvail" in reason) or ("Resources" in reason) or ("Priority" in reason):
queuelist.append({
"uuid": jobname,
"runtime_constraints": {
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list