cfg-checker ceph bench debug part 3
- cleanup procedure
- agent json loading updates
- bool argument detection updates
Related-PROD: PROD-36669
Change-Id: I9e2417a2bfc03883d9a6ef69f60f000cb5bacf54
diff --git a/cfg_checker/modules/ceph/__init__.py b/cfg_checker/modules/ceph/__init__.py
index d3f9581..62941d5 100644
--- a/cfg_checker/modules/ceph/__init__.py
+++ b/cfg_checker/modules/ceph/__init__.py
@@ -185,9 +185,14 @@
ceph_bench.prepare_agents(_opts)
if not ceph_bench.run_benchmark(_opts):
# No cleaning and/or report if benchmark was not finished
+ logger_cli.info("# Abnormal benchmark run, no cleaning performed")
return
if not config.no_cleaning_after_benchmark:
ceph_bench.cleanup()
+ else:
+ logger_cli.info(
+ "# '--no-cleaning' option set. Cleaning not conducted."
+ )
# Create report
ceph_bench.create_report(_filename)