From: Alfredo Deza Date: Wed, 6 Aug 2014 13:25:33 +0000 (-0400) Subject: ignore errors if 'ps aux' fails X-Git-Tag: 1.1.0~1291^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F306%2Fhead;p=teuthology.git ignore errors if 'ps aux' fails Signed-off-by: Alfredo Deza --- diff --git a/teuthology/task/ceph_deploy.py b/teuthology/task/ceph_deploy.py index 27ae68b5..9964bab9 100644 --- a/teuthology/task/ceph_deploy.py +++ b/teuthology/task/ceph_deploy.py @@ -353,10 +353,10 @@ def build_ceph_cluster(ctx, config): 'sudo', 'service', 'status', 'ceph-all']) # and now just check for the processes themselves, as if upstart/sysvinit - # is lying to us + # is lying to us. Ignore errors if the grep fails ctx.cluster.run(args=['sudo', 'ps', 'aux', run.Raw('|'), 'grep', '-v', 'grep', run.Raw('|'), - 'grep', 'ceph']) + 'grep', 'ceph'], check_status=False) if ctx.archive is not None: # archive mon data, too