]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
use the right syntax for RHEL/CentOS distros to check for ceph status
authorAlfredo Deza <alfredo.deza@inktank.com>
Mon, 18 Aug 2014 16:40:43 +0000 (12:40 -0400)
committerSage Weil <sage@redhat.com>
Mon, 18 Aug 2014 17:10:52 +0000 (10:10 -0700)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
(cherry picked from commit 4b15d0118ec000fe1e947131a62ef9990b23e9f4)

tasks/ceph_deploy.py

index 1e97828a85713f83deec4c714c67d2cf56271496..92d6ff693a81d9551a2bfbb0f0cf545a4d2e2b0a 100644 (file)
@@ -350,7 +350,7 @@ def build_ceph_cluster(ctx, config):
         # Are you really not running anymore?
         # try first with the init tooling
         ctx.cluster.run(args=['sudo', 'status', 'ceph-all', run.Raw('||'),
-                              'sudo', 'service',  'status', 'ceph-all'])
+                              'sudo', 'service',  'ceph', 'status'])
 
         # and now just check for the processes themselves, as if upstart/sysvinit
         # is lying to us. Ignore errors if the grep fails