Fixing teuthology-lock for os-type instead of vm-type.

Teuthology got updated to use --os-type and os_type in yaml
instead of --vm-type. I added this to teuthology but forgot
to update tuthology-lock as well for manually creating vms.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
More changes for creating vms manually with lock (no config)

Needed some more changes to allow for the case of creating vm's
manually with teuthology-lock instead of letting teuthology handle
it in internal.py with lock_machines(). Just some additional checks
to go to defaults when ctx.config is non-existent (causes an
attributeerror).

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Warren Usui <warren.usui@inktank.com>
Always raise exception if yum install fails.  This avoids later confusion when
packages are missing (the old code skipped 'Nothing to do' messages, but these
cases are still errors).

Fixes #5803
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Reviewed by: Sandon Van Ness
Remove now unnecessary try/except/raise that came about as a result of
the previous check-in.

Fixes: #5803
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Fix RHEL/centos ceph-deploy installs.

Use a hiphen as a diliminator instead of a dot.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reconnect after running chef task.

Just a simple change to reconnect to SSH after running
ceph-qa-chef to get around things like ulimit changes.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Merge branch 'master' of github.com:ceph/teuthology
Merge branch 'master' of github.com:ceph/teuthology
Merge branch 'master' of github.com:ceph/teuthology
Merge branch 'master' of github.com:ceph/teuthology
Merge branch 'master' of github.com:ceph/teuthology
Merge branch 'master' of github.com:ceph/teuthology
Merge branch 'master' of github.com:ceph/teuthology
Merge branch 'master' of github.com:ceph/teuthology
Merge branch 'master' of github.com:ceph/teuthology
Merge branch 'master' of github.com:ceph/teuthology
Merge branch 'master' of github.com:ceph/teuthology
Merge branch 'master' of github.com:ceph/teuthology
s/ceph-debug/ceph-debuginfo for rpms

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>