hashicorp / nomad-pack

Mozilla Public License 2.0
400 stars 52 forks source link

Duplicate job block error when using nomad-pack plan for cron jobs #579

Open FirstPiterSky opened 2 months ago

FirstPiterSky commented 2 months ago

Description: We are encountering a 400 error when attempting to create tasks in Nomad using the nomad-pack plan command. The error is related to duplicate job blocks in the rendered job file.

Steps to Reproduce:

Actual Behavior: The command fails with a 400 error due to multiple "job" blocks in the generated file.

pkazmierczak commented 2 months ago

Hi @FirstPiterSky, thanks for reporting this issue. We'll look into it!