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

My TZCronJob is never scheduled "No unmet start times for my-ns/my-job" #38

Open
carlosjgp opened this issue Nov 5, 2020 · 0 comments

Comments

@carlosjgp
Copy link

CronJobber is deployed on cronjobber NS and other regular CronJobs are deployed on NS zzzzz

To test my TZCronJob was deployed with schedule: */1 20 * * * @ 20.02 then changed to schedule: 15 20 * * * with the same result as below

There is a TODO just above that log statement. Am I suffering from a race condition of some sort? :(

logger.Debugf("No unmet start times for %s", nameForLog)

{"level":"debug","ts":"2020-11-05T20:12:58.892Z","caller":"cronjobber/controller.go:136","msg":"Found 1 groups"}
{"level":"debug","ts":"2020-11-05T20:12:58.901Z","caller":"cronjobber/controller.go:281","msg":"No unmet start times for my-ns/my-job"}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/controller.go:126","msg":"Found 16 jobs"}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/controller.go:133","msg":"Found 1 cronjobs"}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-1 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-1 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-2 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-2 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-3 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-3 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-4 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-4 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-5 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-5 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-6 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-6 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-7 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-7 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-8 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-8 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-9 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-9 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-10 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-10 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-11 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-12 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:67","msg":"Job with non-TZCronJob parent, name xxxxx-12 namespace zzzzz
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-14 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-15 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-16 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/utils.go:81","msg":"Unable to get parent uid from job xxxxx-17 in namespace zzzzz}
{"level":"debug","ts":"2020-11-05T20:13:08.919Z","caller":"cronjobber/controller.go:136","msg":"Found 1 groups"}
{"level":"debug","ts":"2020-11-05T20:13:08.929Z","caller":"cronjobber/controller.go:281","msg":"No unmet start times for my-ns/my-job"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant