]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/cephfs: fix fuse killing in vstart
authorJohn Spray <john.spray@redhat.com>
Wed, 11 Nov 2015 10:25:53 +0000 (10:25 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 14 Jan 2016 22:55:29 +0000 (22:55 +0000)
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 <john.spray@redhat.com>
tasks/cephfs/vstart_runner.py

index 78ee4ccfab30931aedf5a39452cdd2f459ea7a00..7ed4f4cc7b4170e72f0b6ba9417af7c758a9e8c9 100644 (file)
@@ -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:]