Fix update hang.

Don't check ssh keys of VM (attempting to update them) if we are
changing the state of the host (up/down) as there is a good chance
it will be down and will never return any keys.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Added suggested comment.

Signed-off-by: Sandon Van Ness <sandon@redhat.com>
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.