ceph/teuthology
Sage Weil f3db12f025 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>
2013-09-03 12:05:38 -07:00
..
locker Never use 'except:' without specifying an Exception. 2013-08-30 11:10:05 -05:00
orchestra Fix undefined symbol errors 2013-08-27 15:58:14 -07:00
task Revert "Use install -d for /var/log/ceph." 2013-09-03 11:09:39 -07:00
task_util move multi_region_enabled() into util class 2013-08-28 08:59:15 -07:00
test Added get_distro() to misc.py 2013-07-25 14:45:02 -07:00
__init__.py
ceph.conf.template ceph.conf.template: add osd_debug_pg_log_writeout = true 2013-08-27 18:48:48 -07:00
config.py Don't return inside __init__ 2013-08-28 11:36:36 -05:00
contextutil.py Never use 'except:' without specifying an Exception. 2013-08-30 11:10:05 -05:00
coverage.py Never use 'except:' without specifying an Exception. 2013-08-30 11:10:05 -05:00
lock.py Display error message when locking a vpm fails due to downburst errors. 2013-08-16 16:23:09 -07:00
lockstatus.py Support added for running scheduled tasks on virtual machines. 2013-06-07 19:32:15 -07:00
misc.py Revert "get_scratch_devices(): catch CommandFailedError, log "dev in use"" 2013-08-30 23:22:24 -07:00
nuke.py Never use 'except:' without specifying an Exception. 2013-08-30 11:10:05 -05:00
parallel.py Never use 'except:' without specifying an Exception. 2013-08-30 11:10:05 -05:00
queue.py Workers: only log child's stderr, not stdout 2013-08-29 16:12:36 -05:00
run_tasks.py Avoid double slashes in sentry event URL 2013-08-26 18:12:20 -05:00
run.py schedule: strip out targets 2013-09-03 12:05:38 -07:00
safepath.py
sentry.py Tweak logging 2013-08-26 16:17:31 -05:00
suite.py Never use 'except:' without specifying an Exception. 2013-08-30 11:10:05 -05:00