You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when running levant deploy with a job defining a task with lifecycle posttop (to be run after the allocation is terminated for example to cleanup stuff), Nomad will show the task status as "pending " the nomad deployment is successful, however, levant allocation status checker will mark the deployment as incomplete and keep checking for the task to be running or complete https://github.com/hashicorp/levant/blob/main/levant/job_status_checker.go#L139.
Levant should make exception for posstop tasks as they should be completed only when the allocation is terminated.
Nomad: 1.4.2
Levant: 0.3.2
The text was updated successfully, but these errors were encountered:
Description
when running levant deploy with a job defining a task with lifecycle posttop (to be run after the allocation is terminated for example to cleanup stuff), Nomad will show the task status as "pending " the nomad deployment is successful, however, levant allocation status checker will mark the deployment as incomplete and keep checking for the task to be running or complete https://github.com/hashicorp/levant/blob/main/levant/job_status_checker.go#L139.
Levant should make exception for posstop tasks as they should be completed only when the allocation is terminated.
Nomad: 1.4.2
Levant: 0.3.2
The text was updated successfully, but these errors were encountered: