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 triggering a Nomad job registration; the evaluation can incur errors as seen below using the Nomad CLI:
==> Monitoring evaluation "a8a2fcf1"
Evaluation triggered by job "traefik"
Evaluation status changed: "pending" -> "complete"
==> Evaluation "a8a2fcf1" finished with status "complete" but failed to place all allocations:
Task Group "traefik" (failed to place 4 allocations):
* Resources exhausted on 1 nodes
* Class "public" exhausted on 1 nodes
* Dimension "network: bandwidth exceeded" exhausted on 1 nodes
When running this same registration through Levant all seems to go well:
[DEBUG] levant/templater: variable file not passed, using any passed CLI variables
[DEBUG] levant/deploy: running dynamic job count updater for job traefik
[INFO] levant/deploy: job traefik not running, using template file group counts
[INFO] levant/deploy: triggering a deployment of job traefik
[DEBUG] levant/deploy: job type system does not support Nomad deployment model
[INFO] levant/command: deployment of job traefik successful
Levant should therefore be updated to inspect the Nomad evaluation of a job deployment to catch these types of issues and provide feedback to the user.
The text was updated successfully, but these errors were encountered:
Nomad can return an evaluation which has incurred errors due to
issues such as resource starvation. Previously Levant only
checked whether an actual API error was returned from the
evaluation call which meant errors during this phase were not
caught.
This change implaments an evaluation inspector which iterates
through any errors during an evaluation to provide this feedback
to the user.
Closes#39
When triggering a Nomad job registration; the evaluation can incur errors as seen below using the Nomad CLI:
When running this same registration through Levant all seems to go well:
Levant should therefore be updated to inspect the Nomad evaluation of a job deployment to catch these types of issues and provide feedback to the user.
The text was updated successfully, but these errors were encountered: