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
CronJob won't run again after being suspended long enough #45825
Comments
My quick guess at what is happening is that edit: That's seems to be the issue. The job was suspended long enough that it exceeded the magic 100 number. |
/sig apps |
Thanks for the detailed diagnosis, @jhorwit2, sounds right. |
Dupe of #42649? |
Yeah, it does appear to be the same underlying issue. |
ok, I have this in 1.7.10.... How do I get the cronjob to schedule again? |
@jurgenweber been facing same issue. My work around is to delete the cron and create again. |
Yeah, that is what I had to resort to as well. Just annoying really. ;) |
Can we please get some love on this bug :) |
This bug is a dupe of #42649 |
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.):
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Kubernetes version (use
kubectl version
):Environment:
uname -a
): 4.1.12-94.2.1.el7uek.x86_64What happened:
I tried to reenable a cronjob that I suspended this weekend; however, it won't schedule again. I see this in the controller manager logs a lot.
.spec.startingDeadlineSeconds
is not set and there is no clock skew.What you expected to happen:
I expect that when I remove the suspension that it would resume scheduling.
How to reproduce it (as minimally and precisely as possible):
I haven't tried reproducing it but I would assume if you suspend a cron for some amount of time then try to enable it again that it won't be scheduled.
Anything else we need to know:
The text was updated successfully, but these errors were encountered: