]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
use the new mon asok path
authorAlfredo Deza <alfredo.deza@inktank.com>
Mon, 9 Dec 2013 15:05:22 +0000 (10:05 -0500)
committerAlfredo Deza <alfredo.deza@inktank.com>
Mon, 9 Dec 2013 15:05:22 +0000 (10:05 -0500)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ceph_deploy/mon.py

index 0c2286894f8b5926821a2328385ce36e3c0e5549..8529ab9cbf9f0b1ea0b12ffd14fd4fdef124ca8f 100644 (file)
@@ -28,7 +28,7 @@ def mon_status_check(conn, logger, hostname, args):
     output changes as this check depends on that availability.
 
     """
-    mon = 'mon.%s' % hostname
+    asok_path = paths.mon.asok(args.cluster, hostname)
 
     out, err, code = process.check(
         conn,
@@ -36,7 +36,7 @@ def mon_status_check(conn, logger, hostname, args):
             'ceph',
             '--cluster={cluster}'.format(cluster=args.cluster),
             '--admin-daemon',
-            '/var/run/ceph/ceph-%s.asok' % mon,
+            asok_path,
             'mon_status',
         ],
     )