From 2bec1bf080e8e7cbe3581f82971c0da6ed0241c4 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Wed, 11 Jul 2018 11:28:20 -0700 Subject: [PATCH] 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) --- qa/tasks/cephfs/fuse_mount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/cephfs/fuse_mount.py b/qa/tasks/cephfs/fuse_mount.py index b121680b0b3..8169be57d26 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)) -- 2.47.3