X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a8bfbac314335eb0bff3f4ff5e856d3c327de31d..cf0c4c381a2b34130f072096038a430e3c6bbe55:/services/nodemanager/arvnodeman/jobqueue.py diff --git a/services/nodemanager/arvnodeman/jobqueue.py b/services/nodemanager/arvnodeman/jobqueue.py index e91764474f..7ca9c95537 100644 --- a/services/nodemanager/arvnodeman/jobqueue.py +++ b/services/nodemanager/arvnodeman/jobqueue.py @@ -7,7 +7,7 @@ from __future__ import absolute_import, print_function import logging import re -import subprocess +import subprocess32 as subprocess import arvados.util @@ -37,7 +37,10 @@ class ServerCalculator(object): self.scratch = 0 self.cores = 0 self.bandwidth = 0 - self.price = 9999999 + # price is multiplied by 1000 to get the node weight + # the maximum node weight is 4294967280 + # so use invalid node weight 4294967 * 1000 = 4294967000 + self.price = 4294967 self.preemptible = False self.extra = {}