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: v12.2.11~57^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2bec1bf080e8e7cbe3581f82971c0da6ed0241c4;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 b121680b0b39..8169be57d263 100644 --- a/qa/tasks/cephfs/fuse_mount.py +++ b/qa/tasks/cephfs/fuse_mount.py @@ -392,7 +392,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))