-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash during startup in reconciler #4413
Comments
Hi, |
Hi, had the same issue in my environment, I also kubectl deleted the scaled object and recreated it. I'm running keda version 2.10.0, was this issue fixed on 2.10.1? Did I understood correctly? @JorTurFer |
Hi @erez-levi , |
Sorry, forgot about it. I can look into it later. But just to make sure there are no misunderstandings: The resources have been unchanged for quite some time (I'd say a year at least) and after delete/recreate continuing to work as expected. So I am not sure if there is really an issue with the resources. I'd expect the situation to happen more often. |
Hi there! On behalf of @erez-levi , here are deployment and scaled object configs (some data were removed):
the errors:
|
Thanks for reporting, this seems like a duplicate of: #4389 |
We just got it again by this yesterday, one random ScaledObejct started crashLooping Keda, rendering ALL scaled operation un-operational The weird part if that it's never the same ScaledObject, and the affected ScaledObject is in the cluster for a long time. |
Closing this in favor of #4389 please continue there. |
Report
Let me start with a heads-up: This bug report is best-effort. Keda was in a crash loop, so getting things back up was more important than figuring out what exactly happened. I will try to add all the details I have. I it is not enough, feel free to close.
I cannot tell exactly what triggered it, but after a CI run Keda started to crash loop. Find the relevant part of the log below.
No new scaled objects were introduced. The very same config has been running for quite some time.
Looking at the scaled object, we can see that
active
andfallback
areUnknown
instead ofTrue
orFalse
.As obviously something was wrong, I
kubectl deleted
the scaled object and recreated it. Keda happily started right away.Expected Behavior
Keda does not crash when "something" (whatever something is) is wrong with a metric.
Actual Behavior
Keda crashes during startup.
Steps to Reproduce the Problem
I have no idea so far. It only happened once.
Logs from KEDA operator
KEDA Version
2.10.0
Kubernetes Version
1.25
Platform
None
Scaler Details
cron
Anything else?
No response
The text was updated successfully, but these errors were encountered: