From: Alfredo Deza Date: Wed, 18 Sep 2013 00:42:16 +0000 (-0400) Subject: remove the close connection per host in mon.py X-Git-Tag: v1.2.5~1^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8b475dc63c0a35ad3407aa22c629f994d963f5e4;p=ceph-deploy.git remove the close connection per host in mon.py Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/mon.py b/ceph_deploy/mon.py index 6bb332c..0834306 100644 --- a/ceph_deploy/mon.py +++ b/ceph_deploy/mon.py @@ -106,7 +106,9 @@ def mon_create(args): # tell me the status of the deployed mon time.sleep(2) # give some room to start - distro.sudo_conn.close() + # distro.sudo_conn.close() used to happen here but it made some connections + # hang. This is terrible, and we should move on to stop using pushy ASAP. + # Connections are closed individually now before starting the monitors mon_status(None, rlogger, name) except RuntimeError as e: