You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operator is hitting an "invalid memory address or nil pointer dereference" and crashing. This suddenly started happening on one cluster unexpectedly. We run multiple clusters with similar configurations and the ScaledObject in question is on all of them.
Operator had not been restarted just before the errors started. It had been running for about 8 hours.
We deleted the ScaledObject on the failing cluster and keda recovered.
Expected Behavior
No crashing
Actual Behavior
2023-02-06T20:35:52Z INFO Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference
{"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"coredns
","namespace":"kube-system"}, "namespace": "kube-system", "name": "coredns", "reconcileID": "5ac35739-5e1f-47e5-80d3-7630e1d3d890"}
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2dcf3df]
Operator crash
Steps to Reproduce the Problem
I recreated the ScaleObject and keda hasn't crashed yet.
@dpiddock thanks for reporting! Please keep us posted if you happen to see that problem again. I might have a fix for this, but totaly unsure if it actually helps 🤷♂️ 😄
Report
Operator is hitting an "invalid memory address or nil pointer dereference" and crashing. This suddenly started happening on one cluster unexpectedly. We run multiple clusters with similar configurations and the ScaledObject in question is on all of them.
Operator had not been restarted just before the errors started. It had been running for about 8 hours.
We deleted the ScaledObject on the failing cluster and keda recovered.
Expected Behavior
No crashing
Actual Behavior
Operator crash
Steps to Reproduce the Problem
I recreated the ScaleObject and keda hasn't crashed yet.
Logs from KEDA operator
KEDA Version
2.9.2
Kubernetes Version
1.23
Platform
Amazon Web Services
Scaler Details
Prometheus
Anything else?
ScaledObject:
The text was updated successfully, but these errors were encountered: