hashicorp - nomad: summary has failed=1 and complete=1 at the same time -




i've run 1 dispatched job exits code 0. in job summary see job has failed , completed @ same time.

# nomad status run-packaging-a8173887-b37f-4273-9ad7-8691654bb5d4/dispatch-1503480991-c1bd3b3f id            = run-packaging-a8173887-b37f-4273-9ad7-8691654bb5d4/dispatch-1503480991-c1bd3b3f name          = run-packaging-a8173887-b37f-4273-9ad7-8691654bb5d4/dispatch-1503480991-c1bd3b3f submit date   = 08/23/17 09:36:31 utc type          = batch priority      = 50 datacenters   = mhd status        = dead periodic      = false parameterized = false  summary task group  queued  starting  running  failed  complete  lost system      0       0         0        1       1         0  allocations id        node id   task group  version  desired  status    created @ aec6e219  769ff893  system      0        run      complete  08/23/17 09:36:31 utc 

and alloc-status:

# nomad alloc-status aec6e219  recent events: time                   type        description 08/23/17 09:37:16 utc  terminated  exit code: 0 08/23/17 09:36:31 utc  started     task started client 08/23/17 09:36:31 utc  task setup  building task directory 08/23/17 09:36:31 utc  received    task received client 

how explain result? how can possible , why failed appeared on succesful task?

it failed once , completed on second try.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -