From: Patrick Donnelly Date: Thu, 15 Sep 2022 13:55:28 +0000 (-0400) Subject: qa: add filesystem helper for setting transient config X-Git-Tag: v19.0.0~760^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1962322f5990722ebc81531d4f4858a9e0e2e4f3;p=ceph.git qa: add filesystem helper for setting transient config Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/cephfs/filesystem.py b/qa/tasks/cephfs/filesystem.py index d18f699b113..2f0c4ab03ca 100644 --- a/qa/tasks/cephfs/filesystem.py +++ b/qa/tasks/cephfs/filesystem.py @@ -595,6 +595,10 @@ class Filesystem(MDSCluster): a = map(lambda x: str(x).lower(), args) self.run_ceph_cmd("fs", "flag", "set", var, *a) + def set_config(self, opt, val, rank=0, status=None): + command = ["config", "set", opt, val] + self.rank_asok(command, rank, status=status) + def set_allow_multifs(self, yes=True): self.set_flag("enable_multiple", yes)