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

volume_mount destination doesn't interpolate #7362

Closed
tgross opened this issue Mar 16, 2020 · 1 comment
Closed

volume_mount destination doesn't interpolate #7362

tgross opened this issue Mar 16, 2020 · 1 comment
Assignees
Milestone

Comments

@tgross
Copy link
Member

tgross commented Mar 16, 2020

While working on e2e tests for CSI, I discovered the volume_mount.destination field doesn't appear to be interpolated with the alloc dir:

      volume_mount {
        volume      = "test"
        destination = "${NOMAD_ALLOC_DIR}/test"
        read_only   = false
      }

Resulting task event:

2020-03-16T15:31:28-04:00  Driver Failure   failed to create container: API error (400): invalid mount config for type "bind": invalid mount path: '${NOMAD_ALLOC_DIR}/test' mount path must be absolute
@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 Nov 11, 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

1 participant