From: Zack Cerza Date: Tue, 15 Apr 2014 15:40:39 +0000 (-0500) Subject: When deleting jobs, also delete them from paddles X-Git-Tag: 1.1.0~1533^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ee33192f70e364c29acd1f4888975e478722acb5;p=teuthology.git When deleting jobs, also delete them from paddles Signed-off-by: Zack Cerza --- diff --git a/teuthology/schedule.py b/teuthology/schedule.py index e37980f482..df20f7f690 100644 --- a/teuthology/schedule.py +++ b/teuthology/schedule.py @@ -34,6 +34,9 @@ def main(ctx): print 'job {jid} is not in the queue'.format(jid=job_id) else: job.delete() + name = yaml.safe_load(job.body).get('name') + if name: + report.try_delete_jobs(name, job_id) return # strip out targets; the worker will allocate new ones when we run