Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-57191

The kube controller pods are showing some Panic errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 4.21.0
    • 4.17.z
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • None
    • Customer Escalated
    • None
    • None
    • None
    • None

      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:

          

              jchaloup@redhat.com Jan Chaloupka
              rhn-support-vwalek Vladislav Walek
              None
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: