Periodic Parameterized Batch behavior #24311
Labels
hcc/jira
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/batch
Issues related to batch jobs and scheduling
theme/docs
Documentation issues and enhancements
theme/parameterized
parameterized batch jobs
theme/periodic
type/bug
Nomad version
Nomad v1.9.1
BuildDate 2024-10-21T09:00:50Z
Revision d9ec23f
Operating system and Environment details
Ubuntu 22.04.5 LTS
Issue
A batch job that is both parameterized and periodic cannot be run. When invoking it as parameterized, it results in something like this:
When trying to force-launch it via the CLI: nomad job periodic force`
Reproduction steps
Expected Result
The job being able to run periodically (e.g. a daily sync) as well as on-demand (e.g. as a response to a webhook).
If this use-case is not supported (which would be sad), then at least the creating of such a parameterized periodic job should be blocked.
Actual Result
Neither of use-cases work - the job is not run at all.
Job file (if appropriate)
Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)
Update
I do seem to be able to periodic-force launch the parameterized job, resulting in some kind of a job like this:
Which does not show up in the web UI.
I can't argue against that use-case (creating a number of cronjobs, each with different dispatched payloads), but it's not quite what I'd expect, nor does the UI support that either.
The text was updated successfully, but these errors were encountered: