Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

levant/job_status_checker ignores job's namespace #333

@gaspo53

Description

@gaspo53

Description

Relevant Nomad job specification file

job [[ .stack ]]-esb-address {
    namespace = "devtest-esb"

Output of levant version:

Levant v0.2.8
Date: 2019-09-14T14:09:17Z
Commit: dee2715dbc6bd4c8c3d73c882e017e380782e1d2
Branch: 0.2.8
State: 0.2.8
Summary: dee2715dbc6bd4c8c3d73c882e017e380782e1d2

Output of nomad version:

Nomad v0.11.1 (b43457070037800fcc8442c8ff095ff4005dab33)

Additional environment details:

Debug log outputs from Levant:

=->./levant deploy  --var-file=vars-prod.yaml  -var 'stack=grajoy-test' -log-level DEBUG -force address.nomad
2020-06-03T15:17:25-04:00 |DEBU| template/render: variable file extension .yaml detected
2020-06-03T15:17:25-04:00 |INFO| helper/variable: using command line variable with key stack and value grajoy-test
2020-06-03T15:17:25-04:00 |DEBU| helper/variable: variable from file with key stack and value grajoy01 overridden by CLI var
2020-06-03T15:17:25-04:00 |INFO| helper/variable: using variable with key stack_count and value 5 from file
2020-06-03T15:17:25-04:00 |INFO| levant/deploy: job is not running, using template file group counts job_id=grajoy-test-esb-address
2020-06-03T15:17:25-04:00 |INFO| levant/deploy: triggering a deployment job_id=grajoy-test-esb-address
2020-06-03T15:17:25-04:00 |INFO| levant/deploy: evaluation 3f119f7a-5f5a-f2f9-14c2-2df3a20a1247 finished successfully job_id=grajoy-test-esb-address
2020-06-03T15:17:25-04:00 |INFO| levant/deploy: job is not configured with update stanza, consider adding to use deployments job_id=grajoy-test-esb-address
2020-06-03T15:17:25-04:00 |DEBU| levant/job_status_checker: running job status checker for job job_id=grajoy-test-esb-address
2020-06-03T15:17:25-04:00 |ERRO| levant/job_status_checker: unable to query job information from Nomad error="Unexpected response code: 404 (job not found)" job_id=grajoy-test-esb-address
2020-06-03T15:17:25-04:00 |ERRO| levant/deploy: job deployment failed job_id=grajoy-test-esb-address

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions