From 523d84b5f0f48fbb55ece142bbfae085bdb38e94 Mon Sep 17 00:00:00 2001 From: John Spray Date: Wed, 11 Nov 2015 10:25:53 +0000 Subject: [PATCH] tasks/cephfs: fix fuse killing in vstart The "ps au" output was truncating lines which could cause processes to get missed in some cases, like where there is a long --client-mountpoint argument. Signed-off-by: John Spray --- tasks/cephfs/vstart_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/cephfs/vstart_runner.py b/tasks/cephfs/vstart_runner.py index 78ee4ccfab3..7ed4f4cc7b4 100644 --- a/tasks/cephfs/vstart_runner.py +++ b/tasks/cephfs/vstart_runner.py @@ -316,7 +316,7 @@ class MountDaemon(object): Return PID as an integer or None if not found """ ps_txt = self.controller.run( - args=["ps", "ua", "-C", "ceph-fuse"], + args=["ps", "uaww", "-C", "ceph-fuse"], check_status=False # ps returns err if nothing running so ignore ).stdout.getvalue().strip() lines = ps_txt.split("\n")[1:] -- 2.39.5