From 6701a0bd46afea6bcdf8e178eeeff5c50ce4529d Mon Sep 17 00:00:00 2001 From: Lee Sanders Date: Wed, 9 Oct 2024 17:17:55 +0100 Subject: [PATCH 1/2] This change adds a warning to the README.md and cosbench benchmark class that cosbench support will be deprecated in a later PR. Signed-off-by: Lee Sanders --- README.md | 4 ++++ benchmark/cosbench.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index e74139e5..e0257455 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # CBT - The Ceph Benchmarking Tool +Release v0.3 will be the final version of CBT that contains support for cosbench. +There will be a PR soon that will deprecate support for cosbench. If you require +support for cosbench please continue to use v0.3. + ## INTRODUCTION CBT is a testing harness written in python that can automate a variety of tasks diff --git a/benchmark/cosbench.py b/benchmark/cosbench.py index 46dda0db..7d710302 100644 --- a/benchmark/cosbench.py +++ b/benchmark/cosbench.py @@ -20,6 +20,8 @@ def __init__(self, archive_dir, cluster, config): config = self.parse_conf(config) + logger.warning("Cosbench support within CBT will be deprecated in a later PR. Please use release tag v0.3 for continued use of cosbench.") + self.op_size = config["obj_size"] self.total_procs = config["workers"] self.containers = config["containers_max"] From 70e48e0787b4198b63a6c80c82dd5f0de88c1a50 Mon Sep 17 00:00:00 2001 From: Lee Sanders Date: Thu, 17 Oct 2024 09:54:55 +0100 Subject: [PATCH 2/2] Add additional comment to README.md referencing the PR in the ceph release that removes cosbench CBT support from qa/tasks and teuthology. Signed-off-by: Lee Sanders --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e0257455..9f9faa94 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,12 @@ Release v0.3 will be the final version of CBT that contains support for cosbench There will be a PR soon that will deprecate support for cosbench. If you require support for cosbench please continue to use v0.3. +PR https://github.com/ceph/ceph/pull/60169 implements a change to remove qa/tasks cosbench +infrastructure from the Teuthology suite. Ceph releases Quincy and newer did not have any +cosbench suite tests, since teuthology pulls the latest version of CBT and the ceph CI/CD +pipeline are run tests from teuthology for Quincy and newer, there are not any backward +compatibility issues related to removal of cosbench from CBT. + ## INTRODUCTION CBT is a testing harness written in python that can automate a variety of tasks