From: Nitzan Mordechai Date: Sun, 25 Dec 2022 12:25:06 +0000 (+0000) Subject: ceph_manager: removing filestore objectstore-tools file apply-layout-setting X-Git-Tag: v18.1.0~304^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5008369a3e3216b3a5b5e2931cca55686608f95a;p=ceph.git ceph_manager: removing filestore objectstore-tools file apply-layout-setting Signed-off-by: Nitzan Mordechai --- diff --git a/qa/tasks/ceph_manager.py b/qa/tasks/ceph_manager.py index be65c3fc9016..33f18c9075a6 100644 --- a/qa/tasks/ceph_manager.py +++ b/qa/tasks/ceph_manager.py @@ -534,27 +534,6 @@ class OSDThrasher(Thrasher): if imp_remote != exp_remote: imp_remote.run(args=cmd) - # apply low split settings to each pool - if not self.ceph_manager.cephadm: - for pool in self.ceph_manager.list_pools(): - cmd = ("CEPH_ARGS='--filestore-merge-threshold 1 " - "--filestore-split-multiple 1' sudo -E " - + 'ceph-objectstore-tool ' - + ' '.join(prefix + [ - '--data-path', FSPATH.format(id=imp_osd), - '--journal-path', JPATH.format(id=imp_osd), - ]) - + " --op apply-layout-settings --pool " + pool).format(id=osd) - proc = imp_remote.run(args=cmd, - wait=True, check_status=False, - stderr=StringIO()) - if 'Couldn\'t find pool' in proc.stderr.getvalue(): - continue - if proc.exitstatus: - raise Exception("ceph-objectstore-tool apply-layout-settings" - " failed with {status}".format(status=proc.exitstatus)) - - def blackhole_kill_osd(self, osd=None): """ If all else fails, kill the osd.