Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artifact download error not showing interpolated url #2289

Closed
momania opened this issue Feb 7, 2017 · 1 comment
Closed

Artifact download error not showing interpolated url #2289

momania opened this issue Feb 7, 2017 · 1 comment

Comments

@momania
Copy link

momania commented Feb 7, 2017

Nomad version

0.5.4

Issue

I use the meta blocks to not repeat myself with long base urls which I need for artifact downloads.
i.e:

artifact {
  source = "${NOMAD_META_CONFIG_BASE}/mypath/${NOMAD_META_CONFIG_VERSION}/file.ext"
}

When this fails, the alloc-status shows this in the logs:

Failed Artifact Download  failed to download artifact "${NOMAD_META_CONFIG_BASE}/mypath/${NOMAD_META_CONFIG_VERSION}/file.ext": GET error: bad response code: 404

It would be very helpful to show the url after interpolation

@dadgar dadgar added this to the v0.6.0 milestone Feb 7, 2017
schmichael added a commit that referenced this issue Mar 24, 2017
Fixes #2289

Unfortunately took more RecoverableError hijinx than I would have liked.
There might be a better way.
schmichael added a commit that referenced this issue Mar 28, 2017
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants