]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: use root to find client admin socket
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 11 Jul 2018 18:28:20 +0000 (11:28 -0700)
committerNathan Cutler <ncutler@suse.com>
Wed, 12 Dec 2018 20:43:49 +0000 (21:43 +0100)
Permissions on /var/run/ceph changed post-Mimic.

Fixes: http://tracker.ceph.com/issues/24872
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 4d3060b990dd2cdbe343fb026eaa7a4d2bc19f96)

qa/tasks/cephfs/fuse_mount.py

index b121680b0b39040ff31044c5f7a8f6776621222c..8169be57d263cd62c59f29f1534338eecf7709d8 100644 (file)
@@ -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))