domino_admin_toolkit.checks.test_workload_service_logs module
Workload-service component log analysis using the log_analyzer infrastructure.
This check analyzes logs from workload-service pods using the DominoLogAnalyzer with LogAnalysisResult and AnalysisSummary structures for actionable output and error pattern detection.
- domino_admin_toolkit.checks.test_workload_service_logs.test_workload_service_logs(target, k8s_client)
Parameterized workload-service log analysis for individual workload-service components.
- Description:
Analyzes individual workload-service component logs for error rates and critical patterns. Each component is tested separately with its own thresholds from the log analyzer.
Note: The most common failure mode — Akka connection pool exhaustion (BufferOverflowException: max-open-requests exceeded) — appears in dispatcher logs, not here. See test_nucleus_logs.py for that detection.
- Failure Conditions:
Component has error rate exceeding its specific threshold
Component logs are not accessible for analysis
- Success Conditions:
Component has error rate within configured threshold
Component logs accessible and properly analyzed
- Troubleshooting Steps:
Check pod health: kubectl get pods -n domino-platform -l app.kubernetes.io/name=workload-service
Review dispatcher logs for BufferOverflowException (connection pool exhaustion)
If saturation persists, set useWorkloadService=false in central config as a fallback
Required Permissions: Platform admin access