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

nomad symlink handling #3154

Closed
michaelw opened this issue Sep 3, 2017 · 2 comments
Closed

nomad symlink handling #3154

michaelw opened this issue Sep 3, 2017 · 2 comments

Comments

@michaelw
Copy link

michaelw commented Sep 3, 2017

Nomad version

Nomad v0.6.0

Operating system and Environment details

MacOS 10.12.5 (16F73)

Issue

On the following directory tree:

tick
├── boom
│   └── example.nomad
└── tock
    └── boom -> ../../tick/boom

I am getting this error running nomad plan example.nomad (in tick/tock/boom):

Error getting job struct: Error getting jobfile from "example.nomad": source path error: stat /tmp/tick/tick/boom/example.nomad: no such file or directory

Reproduction steps

mkdir -p tick/{tock,boom}
ln -s ../../tick/boom tick/tock
cd tick/tock/boom
nomad init
nomad plan example.nomad
@dadgar
Copy link
Contributor

dadgar commented Sep 5, 2017

Bug is actually in go-getter: https://github.com/hashicorp/go-getter/blob/master/detect_file.go#L35

Will work to get the fix upstreamed.

dadgar added a commit that referenced this issue Sep 5, 2017
dadgar added a commit that referenced this issue Sep 6, 2017
@github-actions
Copy link

github-actions bot commented Dec 8, 2022

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 8, 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