porting teuthology-coverage to docopt

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
cleaning up usage for teuthology-coverage

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
added a test to make sure docopt was parsing things correctly for teuthology-coverage

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Drop ubuntu as default distro for scheduled runs

Signed-off-by: Zack Cerza <zack@cerza.org>
refactored teuthology.coverage to use an dict from docopt instead of a namespace from argparse

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
added a simple test for teuthology.coverage.main

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
added a simple test for teuthology.coverage.main

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Merge pull request #358 from andrewschoen/docopt-porting

porting teuthology-coverage to docopt
Drop null values in placeholders

Signed-off-by: Zack Cerza <zack@redhat.com>
Merge pull request #363 from ceph/wip-10089

drop default os_type of 'ubuntu' in teuthology-suite
Add a default results_sending_email

Signed-off-by: Zack Cerza <zack@redhat.com>
Mention test name when failing to schedule

Signed-off-by: Zack Cerza <zack@redhat.com>
More useful logging when unlocking single nodes

Signed-off-by: Zack Cerza <zack@redhat.com>
Choose SHA1 sums more intelligently

By checking the actual gitbuilder archive that we care about, if
--distro is passed. If it is not, tweak the default to 'rhel' instead of
'ubuntu' since that seems to produce better results. To be clear, this
is a workaround I'm putting in place since our gitbuilders never seem to
be in sync.

Signed-off-by: Zack Cerza <zack@redhat.com>
Merge pull request #364 from ceph/wip-scheduling

Fix / work around gitbuilder problems
ceph.conf: filestore fiemap = true

Signed-off-by: Sage Weil <sage@redhat.com>
Verify running pid before passing it to be killed.

So we don't kill other processes that have taken jobs pid since
job has been no longer running.

Signed-off-by: Sandon Van Ness <sandon@redhat.com>
Merge pull request #365 from ceph/wip-kill-pid-check

Verify running pid before passing it to be killed.
cluster: remove extra write_file argument

http://tracker.ceph.com/issues/10170 Fixes: #10170

Signed-off-by: Loic Dachary <ldachary@redhat.com>
cluster: add owner argument to write_file

The misc.sudo_write_file now supports the optional owner argument, add
support for it.

Signed-off-by: Loic Dachary <ldachary@redhat.com>