]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/scrub_test: sudo ls ...
authorSage Weil <sage@redhat.com>
Thu, 3 Sep 2015 02:01:58 +0000 (22:01 -0400)
committerSage Weil <sage@redhat.com>
Thu, 3 Sep 2015 02:01:58 +0000 (22:01 -0400)
/var/lib/ceph/osd/* is owned by ceph now; ubuntu user can't read
it.

Fixes: #12878
Signed-off-by: Sage Weil <sage@redhat.com>
tasks/scrub_test.py

index 3443ae9f45e92500c9d789bd4fa32e243aa69919..b947487aa90b0f953e74d822fc39ce8ef1409918 100644 (file)
@@ -84,7 +84,7 @@ def task(ctx, config):
     # fuzz time
     ls_fp = StringIO()
     osd_remote.run(
-        args=[ 'ls', data_path ],
+        args=[ 'sudo', 'ls', data_path ],
         stdout=ls_fp,
     )
     ls_out = ls_fp.getvalue()