From: Patrick Donnelly Date: Wed, 11 Jul 2018 18:28:20 +0000 (-0700) Subject: qa: use root to find client admin socket X-Git-Tag: v13.2.1~23^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F23030%2Fhead;p=ceph.git qa: use root to find client admin socket Permissions on /var/run/ceph changed post-Mimic. Fixes: http://tracker.ceph.com/issues/24872 Signed-off-by: Patrick Donnelly (cherry picked from commit 4d3060b990dd2cdbe343fb026eaa7a4d2bc19f96) --- diff --git a/qa/tasks/cephfs/fuse_mount.py b/qa/tasks/cephfs/fuse_mount.py index 30de6051c0b..88d618cf340 100644 --- a/qa/tasks/cephfs/fuse_mount.py +++ b/qa/tasks/cephfs/fuse_mount.py @@ -394,7 +394,7 @@ print find_socket("{client_name}") # Find the admin socket p = self.client_remote.run(args=[ - 'python', '-c', pyscript + 'sudo', 'python2', '-c', pyscript ], stdout=StringIO()) asok_path = p.stdout.getvalue().strip() log.info("Found client admin socket at {0}".format(asok_path))