Attached is patch to Remoto library.
It adds waiting for thread finish to its Connection module after exit from thread and so, fixes the strange non-zero exit codes, if Remoto thread did not finished exit procedure on exit from ceph-deploy.
Thanks to Bulat Gaifullin for debugging ceph-deploy and elaborating this patch.
Attached is patch to Remoto library.
It adds waiting for thread finish to its Connection module after exit from thread and so, fixes the strange non-zero exit codes, if Remoto thread did not finished exit procedure on exit from ceph-deploy.
Thanks to Bulat Gaifullin for debugging ceph-deploy and elaborating this patch.