From 4b15d0118ec000fe1e947131a62ef9990b23e9f4 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 18 Aug 2014 12:40:43 -0400 Subject: [PATCH] use the right syntax for RHEL/CentOS distros to check for ceph status Signed-off-by: Alfredo Deza --- tasks/ceph_deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/ceph_deploy.py b/tasks/ceph_deploy.py index 1e97828a85713..92d6ff693a81d 100644 --- a/tasks/ceph_deploy.py +++ b/tasks/ceph_deploy.py @@ -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 -- 2.39.5