Skip to content
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

Freezes on crons with leading zeros in month number. #8800

Closed
tkukushkin opened this issue Sep 1, 2020 · 4 comments · Fixed by #8804
Closed

Freezes on crons with leading zeros in month number. #8800

tkukushkin opened this issue Sep 1, 2020 · 4 comments · Fixed by #8804
Labels
theme/batch Issues related to batch jobs and scheduling type/bug

Comments

@tkukushkin
Copy link

Nomad version

All versions from 0.11.2 affected.

Issue

After #7894 cronexpr freezes forever on crons with leading zeros in number of month.

These are consequences of such behaviour:

  • no new job could be deployed in cluster;
  • no cron jobs are running;
  • nomad agent-info | grep fsm_pending infinitely grows.

Reproduction steps

Create periodic job with leading zero in number of month, for example: 10 15 21 04 * * or run this code

@jrasell jrasell added theme/batch Issues related to batch jobs and scheduling type/bug labels Sep 1, 2020
@jrasell
Copy link
Member

jrasell commented Sep 1, 2020

Hi @tkukushkin and thanks for the report. I have been able to reproduce this locally on 0.12.3 so will label accordingly.

@notnoop
Copy link
Contributor

notnoop commented Sep 1, 2020

Thanks @tkukushkin for reporting the issue! I'm very sorry that you hit this condition and that the cluster broke :(. I have merged a fix and we plan to cut 0.12.4 in the next few days.

@tkukushkin
Copy link
Author

Thanks for fast fix.

@github-actions
Copy link

github-actions bot commented Nov 2, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
theme/batch Issues related to batch jobs and scheduling type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants