Ceph benchmark report polishing and hotfixes
- Ordered taskfile report
- Skipping of already performed tasks
- Visual aids on viewing details and column sizes
- Column desctiptions and notes
Fixes:
- Fixed option overwriting in taskfile mode
- Updated retry operation logging and timing
Related-PROD: PROD-36669
Change-Id: I92c049f0043e45bf032ca15e4fa3260355ee0eed
diff --git a/cfg_checker/common/decorators.py b/cfg_checker/common/decorators.py
index d83e469..a8b6da0 100644
--- a/cfg_checker/common/decorators.py
+++ b/cfg_checker/common/decorators.py
@@ -6,7 +6,7 @@
from cfg_checker.common import logger, logger_cli
-def retry(exceptions, total_tries=5, initial_wait=0.5, backoff_factor=2):
+def retry(exceptions, total_tries=5, initial_wait=1, backoff_factor=2):
"""
calling the decorated function applying an exponential backoff.
Args:
@@ -32,7 +32,7 @@
f.__name___,
total_tries
)
- logger_cli.debug(msg)
+ logger_cli.info(msg)
logger.debug(
msg + "args: {}, kwargs: {}".format(
print_args,
@@ -46,7 +46,7 @@
e,
_delay
)
- logger_cli.debug(msg)
+ logger_cli.info(msg)
logger.debug(
msg + "args: {}, kwargs: {}\n".format(
print_args,
diff --git a/cfg_checker/common/kube_utils.py b/cfg_checker/common/kube_utils.py
index f8c3469..6f303ff 100644
--- a/cfg_checker/common/kube_utils.py
+++ b/cfg_checker/common/kube_utils.py
@@ -609,7 +609,7 @@
)
return _pods
- @retry(ApiException, initial_wait=5)
+ @retry(ApiException, initial_wait=10)
def put_string_buffer_to_pod_as_textfile(
self,
pod_name,