]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
remove the close connection per host in mon.py
authorAlfredo Deza <alfredo.deza@inktank.com>
Wed, 18 Sep 2013 00:42:16 +0000 (20:42 -0400)
committerAlfredo Deza <alfredo.deza@inktank.com>
Wed, 18 Sep 2013 00:42:16 +0000 (20:42 -0400)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ceph_deploy/mon.py

index 6bb332c6d68cdebb02e67a85f0de41a2bea7f373..08343061f8124057ff473d74a9a2e693d27abf57 100644 (file)
@@ -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: