]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: use root to find client admin socket 22995/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 11 Jul 2018 18:28:20 +0000 (11:28 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 11 Jul 2018 18:28:20 +0000 (11:28 -0700)
Permissions on /var/run/ceph changed post-Mimic.

Fixes: http://tracker.ceph.com/issues/24872
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/cephfs/fuse_mount.py

index 30de6051c0b2542a0330a5d7fe61b9357bba24a8..88d618cf3400d532d068e37fd10a677d05e8597a 100644 (file)
@@ -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))