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>
Merge pull request #240 from ceph/wip-fix6295-wusui

Improve unlock error messages.
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>
Merge pull request #241 from ceph/wip-7933

task.rgw: Enable use of built-in civetweb server instead of apache
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>