-
Bug
-
Resolution: Done-Errata
-
Major
-
4.15.0
-
None
Description of problem:
Sometimes the prometheus-operator's informer will be stuck because it receives objects that can't be converted to *v1.PartialObjectMetadata.
Version-Release number of selected component (if applicable):
4.15
How reproducible:
Not always
Steps to Reproduce:
1. Unknown 2. 3.
Actual results:
prometheus-operator logs show errors like 2024-02-09T08:29:35.478550608Z level=warn ts=2024-02-09T08:29:35.478491797Z caller=klog.go:108 component=k8s_client_runtime func=Warningf msg="github.com/coreos/prometheus-operator/pkg/informers/informers.go:110: failed to list *v1.PartialObjectMetadata: Get \"https://172.30.0.1:443/api/v1/secrets?resourceVersion=29022\": dial tcp 172.30.0.1:443: connect: connection refused" 2024-02-09T08:29:35.478592909Z level=error ts=2024-02-09T08:29:35.478541608Z caller=klog.go:116 component=k8s_client_runtime func=ErrorDepth msg="github.com/coreos/prometheus-operator/pkg/informers/informers.go:110: Failed to watch *v1.PartialObjectMetadata: failed to list *v1.PartialObjectMetadata: Get \"https://172.30.0.1:443/api/v1/secrets?resourceVersion=29022\": dial tcp 172.30.0.1:443: connect: connection refused"
Expected results:
No error
Additional info:
The bug has been introduced in v0.70.0 by https://github.com/prometheus-operator/prometheus-operator/pull/5993 so it only affects 4.16 and 4.15.
- blocks
-
OCPBUGS-29509 "Failed to watch *v1.PartialObjectMetadata" errors in prometheus-operator logs
- Closed
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update