Add ability to upgrade with ceph-deploy

Fixes: 6146
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Print progress of reaidng job info when killing.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Speed up teuthology-kill.

Read less information when its not needed for killing runs.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
nuke: clear test firewall rules

Signed-off-by: John Spray <john.spray@redhat.com>
daemon: add DaemonGroup.resolve_role_list

Used for tasks that want to take a flexible list
of roles from their user config, including a
null (everything) default and * wildcards.

Signed-off-by: John Spray <john.spray@redhat.com>
ceph.conf: mon reweight min pgs per osd = 4

So teh cephtool reweight-by-pg test will pass with mini clusters.

Signed-off-by: Sage Weil <sage@redhat.com>
convert nuke-on-error to boolean

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Update/rewrite several functions to use paddles

Functions updated: lock.lock_one(), lock.unlock_one(),
lock.destroy_if_vm(), lockstatus.get_status()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Add unit tests for (de)canonicalize_hostname()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Make (de)canonicalize_hostname() work without user

Add tests proving they still work *with* usernames as well.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Rewrite list_locks()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Update do_summary()

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

Create a new teuthology.provision module and move virtual machine
functions there. Move hostname manipulation functions to
teuthology.misc.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Fix PEP-8 issues

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Update lock_many(), update_lock(), and main()

Also remove lockstatus.send_request()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
keyscan_check(): don't require ctx to be passed

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Re-order functions in module

This is for readability.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Add new ssh_keyscan() method

This is just a cleaner implementation that will replace the existing
one(s).

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
No need to be passing ctx to update_lock()

... or update_keys() or scan_for_locks()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Use new ssh_keyscan() function

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