]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
schedule: strip out targets
authorSage Weil <sage@inktank.com>
Tue, 3 Sep 2013 19:05:38 +0000 (12:05 -0700)
committerSage Weil <sage@inktank.com>
Tue, 3 Sep 2013 19:05:38 +0000 (12:05 -0700)
commitf3db12f02546f0c36a887fcf4aa5378ece79cf7c
tree2183f62b1afebeccfae0c52e50e27f1eeaecf98b
parent4ba3d52018f8cfca8ec4da37b434643a203e9bfa
schedule: strip out targets

If the user feeds in a yaml with targets, the worker will launch the job
but fail with

2013-09-03T11:18:34.333 CRITICAL:root:AssertionError: You cannot specify targets in a config file when using the --lock option

Just strip them out before scheduling.  This eases my personal workflow
where I have a test I'm running manually against some prelocked machines
but also want to schedule it.

Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/run.py