]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
do mon status at the end
authorAlfredo Deza <alfredo.deza@inktank.com>
Thu, 20 Feb 2014 20:48:29 +0000 (15:48 -0500)
committerAlfredo Deza <alfredo.deza@inktank.com>
Fri, 21 Feb 2014 14:46:44 +0000 (09:46 -0500)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ceph_deploy/mon.py

index 52e8f2b5ebc6e38f9456a08713225c21f005f342..9b1b277ee55d52e4fd562142dc9a0ee276ab8120 100644 (file)
@@ -142,8 +142,8 @@ def mon_add(args):
 
         # tell me the status of the deployed mon
         time.sleep(2)  # give some room to start
-        mon_status(distro.conn, rlogger, mon_host, args)
         catch_mon_errors(distro.conn, rlogger, mon_host, cfg, args)
+        mon_status(distro.conn, rlogger, mon_host, args)
         distro.conn.exit()
 
     except RuntimeError as e: