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
After additional tests I've discovered that Levant job file validation fails with Nomad 0.8 job file version.
With 0.8 Nomad lib and 0.0.4 version deploy seems working.
In 0.8 added:
# nomad version
Nomad v0.8.0 (751b42aaa60f1bc679e5062e16db7d15f8ff9654)
Debug log outputs from Levant:
# levant deploy -var-file=service.yaml -canary-auto-promote=60 service.levant.nomad
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key COMMIT_HASH and value d195ced from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key DEPLOY_ENV and value stg from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key IMAGE and value px-pws-tf:commit_d195ced from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key SERVER_ENV and value dev from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key CPU and value 1000 from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key CPU_HARD and value false from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key DOMAIN and value stg.pws.px-dev.com from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key BUILD_ID and value 26 from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key REGION and value us from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key DC and value us-west-1 from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key PREFIX and value px from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key PROJECT and value pws from file
2018/04/18 10:18:02 UTC [INFO] helper/variable: using variable with key MEMORY and value 400 from file
[ERROR] levant/command: error parsing 'job': 1 error occurred:
group: 'main' -> invalid key: reschedule
The text was updated successfully, but these errors were encountered:
Description
After additional tests I've discovered that Levant job file validation fails with Nomad 0.8 job file version.
With 0.8 Nomad lib and 0.0.4 version deploy seems working.
In 0.8 added:
reschedule
stanzacheck_restart
can be defined atservice
levelcpu_hard_limit
docker driver optRelevant Nomad job specification file
Output of
levant version
:Output of
consul version
:Output of
nomad version
:Debug log outputs from Levant:
The text was updated successfully, but these errors were encountered: