Error: job already exists and is not managed by nomad pack
ruslan-y opened this issue · 9 comments
ruslan-y commented
Hi!
After updating a nomad-pack
to version 0.1.2
, sometimes an error occurs:
! Failed Job Conflict Validation
! Error: job with id "test-job" already exists and is not managed by nomad pack
! Context:
! Template Name: test/templates/test.nomad.tpl
If you remove a job from the cluster, it will be redeployed correctly, but after some time, this error occurs again.
tgross commented
Hi @ruslan-y! Just for clarity, was the job deployed by Nomad Pack before? Are you updating the job outside of Pack at all? (Ex are you also running Autoscaler or running nomad job scale
)?
ruslan-y commented
@tgross Yes, the job was deployed by Nomad Pack before.
And we're not updating the job outside of Pack, just use nomad-pack
in our CICD.
tgross commented
Ok, thanks for the clarification. I'll mark this issue for roadmapping.