Change status to _status everywhere (fix regression)

0550dd119150acf8f7b7da2f32b3938c910c3c99 didn't add '_' to 'status'
everywhere it was needed.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Fix kvm issues for Trusty

Change kvm reference to qemu-system-x86_64 and use raw format
in kvm/qemu command.  Tested on both Trusty and Precise.

Fixes: 7825
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Improve unlock error messages.

Added messages if the hostname is invalid, and if
the user is not the owner of the lock.

Fixes: 6295
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Fix all but one of the PEP-8 issues

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Rename some functions and variables

This is to make the refactoring a little smoother and easier to read.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Don't pass apache's config to radosgw

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Optionally use civetweb instead of apache

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Don't run apache functions if not using apache

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Generate subtasks instead of copy/pasting them

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Update to use psutil 2.x API

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Pass -D flag to teuthology report

Fixes an issue where tests run on old teuthology branches that died for
uncommon reasons were not being marked as dead

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
safe_while: Don't sleep() on the first attempt

This was causing unnecessary delays in several places

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Add methods for querying and deleting jobs

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
When killing a run, delete paddles jobs

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Use shared methods to connect to beanstalkd

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Rename teuthology.queue to teuthology.worker

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Submit queued jobs to paddles

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
When deleting jobs, also delete them from paddles

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Look for archive_base in config

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Be slightly less verbose about logging

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>