mirror of
https://github.com/ceph/ceph
synced 2025-02-15 23:07:55 +00:00
ignore errors on informational service status
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
This commit is contained in:
parent
bfe31bec01
commit
5b946e1a6d
@ -349,8 +349,10 @@ def build_ceph_cluster(ctx, config):
|
||||
|
||||
# Are you really not running anymore?
|
||||
# try first with the init tooling
|
||||
# ignoring the status so this becomes informational only
|
||||
ctx.cluster.run(args=['sudo', 'status', 'ceph-all', run.Raw('||'),
|
||||
'sudo', 'service', 'ceph', 'status'])
|
||||
'sudo', 'service', 'ceph', 'status'],
|
||||
check_status=False)
|
||||
|
||||
# and now just check for the processes themselves, as if upstart/sysvinit
|
||||
# is lying to us. Ignore errors if the grep fails
|
||||
|
Loading…
Reference in New Issue
Block a user