add a finally block to close stderr/stdout

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ensure CEPH_DEPLOY_TEST is set in tox.ini

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
only close stderr if we are not testing

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
make sure we can still exit with proper exit codes

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
override the safe default for cli.main()

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
move the stderr/stdout closing to the ceph-deploy executable

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
do not if/else format_exc() results

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

add a finally block to close stderr/stdout
create a subnet arg validator

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
allow passing public/private networks to new

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>