Description of problem:
We see the kube controller manager pods are restarting and showing errors: 2025-06-07T18:38:49.295268915Z I0607 18:38:49.295201 1 event.go:377] Event(v1.ObjectReference{Kind:"Pod", Namespace:"openshift-kube-controller-manager", Name:"kube-controller-manager-<pod>", UID:"", APIVersion:"", ResourceVersion:"", FieldPath:""}): type: 'Warning' reason: 'Cluster-Policy-ControllerPanic' Panic observed: unknown volume type: configMaps 2025-06-07T18:38:50.638359108Z E0607 18:38:50.638269 1 runtime.go:79] Observed a panic: &errors.errorString{s:"unknown volume type: configMaps"} (unknown volume type: configMaps) 2025-06-07T18:38:50.638359108Z k8s.io/apimachinery/pkg/util/runtime.logPanic({0x26859c0, 0xc04f0aea70}) 2025-06-07T18:38:50.638359108Z panic({0x26859c0?, 0xc04f0aea70?}) 2025-06-07T18:38:50.638359108Z runtime/panic.go:770 +0x132 Seems like there is an object with volumeType=configMaps instead of just configMap, but we are not able to find which. Additionally, we see another issue with horizontal scaler: 2025-06-06T14:49:14.150685210Z I0606 14:49:14.150647 1 horizontal.go:893] "Decided not to scale" logger="horizontal-pod-autoscaler-controller" scaleTarget="Deployment/<>" desiredReplicas=1 lastScaleTime="<panic: runtime error: invalid memory address or nil pointer dereference>" Which could be related to the restarts of the kube controller manager.
Version-Release number of selected component (if applicable):
OCP 4.17.27
How reproducible:
N/A
Steps to Reproduce:
1. 2. 3.
Actual results:
Expected results:
Additional info:
- blocks
-
OCPBUGS-62053 The kube controller pods are showing some Panic errors
-
- Verified
-
- is cloned by
-
OCPBUGS-62053 The kube controller pods are showing some Panic errors
-
- Verified
-
- links to