From f080776c1de041fca8ea8b4695a1319bc70bdb5d Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 27 Sep 2018 12:50:15 -0700 Subject: Provide some accounting of node usage in logs It would be good to provide this information in other ways (e.g., statsd, SQL), but for now, try to at least emit some useful accounting information that can be collected from logs. Change-Id: Ic12d91940bdd4b5a81596627d7544015df5eba09 --- zuul/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zuul/scheduler.py') diff --git a/zuul/scheduler.py b/zuul/scheduler.py index ed27c430a..9724b84a5 100644 --- a/zuul/scheduler.py +++ b/zuul/scheduler.py @@ -1218,7 +1218,7 @@ class Scheduler(threading.Thread): except Exception: self.log.exception("Unable to process autohold for %s" % build) try: - self.nodepool.returnNodeSet(build.nodeset) + self.nodepool.returnNodeSet(build.nodeset, build) except Exception: self.log.exception("Unable to return nodeset %s" % build.nodeset) -- cgit v1.2.1