From 7fefcdb6d3d5c777d26971563af450971fa8a9fe Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 16 Jan 2020 16:01:05 -0600 Subject: [PATCH] qa/tasks/ceph_manager: fix filestore split command Signed-off-by: Sage Weil --- qa/tasks/ceph_manager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qa/tasks/ceph_manager.py b/qa/tasks/ceph_manager.py index 524a63668fa..2ceb72f1ddb 100644 --- a/qa/tasks/ceph_manager.py +++ b/qa/tasks/ceph_manager.py @@ -394,10 +394,11 @@ class OSDThrasher(Thrasher): # apply low split settings to each pool if not self.ceph_manager.cephadm: for pool in self.ceph_manager.list_pools(): - no_sudo_prefix = ' '.join(prefix[1:]) cmd = ("CEPH_ARGS='--filestore-merge-threshold 1 " "--filestore-split-multiple 1' sudo -E " - + no_sudo_prefix + "--op apply-layout-settings --pool " + pool).format(id=osd) + + 'ceph-objectstore-tool ' + + ' '.join(prefix) + + " --op apply-layout-settings --pool " + pool).format(id=osd) proc = remote.run(args=cmd, wait=True, check_status=False, stderr=StringIO()) output = proc.stderr.getvalue() if 'Couldn\'t find pool' in output: -- 2.47.3