Commit Graph

15 Commits

Author SHA1 Message Date
Zack Cerza
796af560a3 Handle jobs with no targets
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-31 21:07:24 -05:00
Zack Cerza
5aa5566b3a Don't explode when finding an empty job
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-26 12:33:40 -05:00
Zack Cerza
f250da841f Add log statement to find_run_info()
Sometimes it takes a while.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 15:50:03 -05:00
Zack Cerza
70ab6e0315 Add --preserve-queue to teuthology-kill
For any cases where we just want to kill the running jobs and not delete
any scheduled jobs. This only applies to killing entire runs and is not
the default.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-03-25 10:18:33 -05:00
Zack Cerza
34478127d2 In find_job_info(), also look for orig.config.yaml
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-26 13:13:41 -06:00
Zack Cerza
7759473e3e Enable killing runs that haven't even started yet
This requires passing --machine-type.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-02-05 13:43:34 -06:00
Zack Cerza
e312048ade Allow passing multiple job_ids
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-12-19 16:43:11 -06:00
Zack Cerza
220779c8c4 Implement single-job killing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-12-19 16:32:41 -06:00
Zack Cerza
eeeb6267f9 For teuthology-kill, s/suite/run/
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-12-19 16:32:41 -06:00
Zack Cerza
b3acff1d4f Use continue, not break
Fixes a bug where not all pids were being collected

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-12-10 16:48:12 -06:00
Zack Cerza
4a6e47cdce Tweak logic for pid lookup
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-12-10 16:48:07 -06:00
Zack Cerza
77145f1b7f Fix indentation
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-12-10 16:25:28 -06:00
Zack Cerza
26930c9396 More robust machine_type and pid detection
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-17 13:22:15 -05:00
Zack Cerza
26803da18d Rewrite portions of teuthology.kill
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-17 10:31:10 -05:00
Zack Cerza
40e5d1eee0 Add teuthology-kill
Currently implements killing suites-runs.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-16 16:19:15 -05:00