Log collector module
New:
- [Done] multiple namespace selector
- [Done] keyword-based pod selector
- [Done] per-pod logs syntax detection and parsing
- [Differed] in-place filtering for shorter logs
- [Done] individual logs timestamp detection
- [Done] Unix time bases Timestamp sorting
- [Done] Single file logs output using common format
- [Done] add all log types from all MOS namespaces and pods
Update:
- resource preparation can be skipped per module
- updated log collection using multiple threads
- new setting LOG_COLLECT_THREADS
Fixes:
- Network MTU fix
- Faster cmd execution on single pod
- Ceph benchmark validations
- Ceph benchmark report sorting
- Daemonset deployment with nodes skipped
- Network tree debugging script
- Tree depth limiter, i.e. stackoverflow prevention
Related-PROD: PROD-36845
Change-Id: Icf229ac62078c6418ab4dbdff12b0d27ed42af1d
diff --git a/tests/test_network.py b/tests/test_network.py
index 0ac43df..31a844e 100644
--- a/tests/test_network.py
+++ b/tests/test_network.py
@@ -52,7 +52,7 @@
self.assertEqual(
_r_code,
0,
- "'mcp-net {}' command failed".format(" ".join(_args))
+ "'chk-net {}' command failed".format(" ".join(_args))
)
@patch('requests.get', side_effect=mocked_salt_get)
@@ -72,7 +72,7 @@
self.assertEqual(
_r_code,
0,
- "'mcp-net {}' command failed".format(" ".join(_args))
+ "'chk-net {}' command failed".format(" ".join(_args))
)
@patch('requests.get', side_effect=mocked_salt_get)
@@ -92,7 +92,7 @@
self.assertEqual(
_r_code,
0,
- "'mcp-net {}' command failed".format(" ".join(_args))
+ "'chk-net {}' command failed".format(" ".join(_args))
)
@patch('requests.get', side_effect=mocked_salt_get)
@@ -111,5 +111,5 @@
self.assertEqual(
_r_code,
0,
- "'mcp-net {}' command failed".format(" ".join(_args))
+ "'chk-net {}' command failed".format(" ".join(_args))
)