detect sudo needs and switch connections for any use-case

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Merge pull request #65 from alfredodeza/6104

detect sudo needs and switch connections for any use-case
create a mon_status that reports back with boolean flags

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
make sure the wrappers always return the check_call

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Merge pull request #66 from alfredodeza/6017-1

Create a `mon_status` check
attempt to give some info about the actual mon status

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Merge pull request #67 from alfredodeza/6017-1

attempt to give some info about the actual mon status
catch a possible non-json response from the status command

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Merge pull request #69 from alfredodeza/6255

catch a possible non-json response from the status command

Reviewed-by: Sage Weil <sage@inktank.com>
allow to specify host:fqdn/ip in mon create and destroy

Signed-off-by: Dmitry Borodaenko <angdraug@gmail.com>
Merge pull request #68 from angdraug/mon-create-host-ip

allow to specify host:fqdn/ip in mon create and destroy
new, mon: fix mon_hosts import

Fixes: #6266
Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #70 from ceph/wip-6266

new, mon: fix mon_hosts import