Ceph Info command
Updates
- ceph module with 'info', 'report' and 'bench' commands
- mcp-checker ceph info command is collecting Ceph config
and creates an archive
- ceph report command creates HTML document with
info collected from Ceph cluster
- Basic SMART data output in info and full output in report
- skeleton of the ceph bench command to run synced tests
Fixes
- kube helper commands uses proper naming
Change-Id: Ia5aaa343f7d1c38a67d34e60215801bbb0fea097
Related-PROD: PROD-36605
diff --git a/cfg_checker/modules/network/__init__.py b/cfg_checker/modules/network/__init__.py
index 4c95ef3..a99fa9e 100644
--- a/cfg_checker/modules/network/__init__.py
+++ b/cfg_checker/modules/network/__init__.py
@@ -154,7 +154,7 @@
config
)
# Start command
- logger_cli.info("# Network report (check, node map")
+ logger_cli.info("# Network report (check, node map)")
_filename = args_utils.get_arg(args, 'html')
_skip, _skip_file = args_utils.get_skip_args(args)
diff --git a/cfg_checker/modules/network/pinger.py b/cfg_checker/modules/network/pinger.py
index 04a5f68..60c80cc 100644
--- a/cfg_checker/modules/network/pinger.py
+++ b/cfg_checker/modules/network/pinger.py
@@ -401,7 +401,7 @@
"targets.json"
)
# execute ping.py
- _result = self.mapper.master.exec_on_target_pod(
+ _result = self.mapper.master.exec_script_on_target_pod(
_pname,
"ping.py",
args=[_path]