From: Patrick Donnelly Date: Tue, 30 Apr 2024 14:22:48 +0000 (-0400) Subject: qa: make quiesce ops dump world readable X-Git-Tag: v20.0.0~2000^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a907c7eb5752a2ba5b4eef42a854a6231bc1ad29;p=ceph.git qa: make quiesce ops dump world readable Fixes: https://tracker.ceph.com/issues/65701 Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/cephfs/test_quiesce.py b/qa/tasks/cephfs/test_quiesce.py index f74c1b3990ccb..cb76ffbe06add 100644 --- a/qa/tasks/cephfs/test_quiesce.py +++ b/qa/tasks/cephfs/test_quiesce.py @@ -116,6 +116,7 @@ class QuiesceTestCase(CephFSTestCase): ops = self.fs.get_ops(locks=True, rank=rank, path=f"/tmp/mds.{rank}-ops", status=status) (fd, path) = tempfile.mkstemp(prefix=f"mds.{rank}-ops_", dir=self.archive) with os.fdopen(fd, "wt") as f: + os.fchmod(fd, 0o644) f.write(f"{json.dumps(ops, indent=2)}") log.error(f"ops written to {path}") raise