-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.18
-
None
-
None
-
1
-
False
-
-
-
Release Note Not Required
-
In Progress
Description of problem:
Multiple monitoring-plugin Pods return the response code every 10s, there will be too many logs as time goes by
Version-Release number of selected component (if applicable):
4.18.0-0.nightly-2024-09-09-150616
How reproducible:
Steps to Reproduce:
1. 2. 3.
Actual results:
% oc -n openshift-monitoring logs monitoring-plugin-76b8c847f6-m872m time="2024-09-10T07:55:52Z" level=info msg="enabled features: []\n" module=main time="2024-09-10T07:55:52Z" level=warning msg="cannot read config file, serving plugin with default configuration, tried /etc/plugin/config.yaml" error="open /etc/plugin/config.yaml: no such file or directory" module=server time="2024-09-10T07:55:52Z" level=info msg="listening on https://:9443" module=server 10.128.2.2 - - [10/Sep/2024:07:55:53 +0000] "GET /health HTTP/2.0" 200 2 10.128.2.2 - - [10/Sep/2024:07:55:58 +0000] "GET /health HTTP/2.0" 200 2 10.128.2.2 - - [10/Sep/2024:07:56:08 +0000] "GET /health HTTP/2.0" 200 2 10.128.2.2 - - [10/Sep/2024:07:56:18 +0000] "GET /health HTTP/2.0" 200 2 10.128.2.2 - - [10/Sep/2024:07:56:28 +0000] "GET /health HTTP/2.0" 200 2 10.128.2.2 - - [10/Sep/2024:07:56:38 +0000] "GET /health HTTP/2.0" 200 2 ... $ oc -n openshift-monitoring logs monitoring-plugin-76b8c847f6-m872m | grep "GET /health HTTP/2.0" | wc -l 1967
Expected results:
Before we switched to the golang backend, there are usually not many logs
Additional info:
- incorporates
-
OU-525 Reduce excessive health logs
- Closed
- links to
-
RHEA-2024:6122 OpenShift Container Platform 4.18.z bug fix update