-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Isolated Fork/Exec driver problem - Permission denied #956
Comments
What AMI are you using. I could not reproduce on a recent Amazon Linux AMI. |
Sorry I forgot to mention this, I'm running in |
Is #1009 related to this? |
@consultantRR I do not believe they are related. Is there something you are seeing that leads you to that? May help debugging |
For the following drivers: running on RHEL 6.5 we get the same error - Permission Denied: 10/20/16 11:12:09 CEST Driver Failure failed to start task 'config' for alloc '83253d09-b591-7be7-b486-3714d04fc859': fork/exec /usr/bin/java: permission denied This made no difference with setting user. running raw_exec had no problem, when not setting a user, whilst if a user was configured in the task, the same error as above was experienced |
@czerwina can you try to check the alloc directory permissions for the user you're using (eg try temporarily to chmod o+rwX -R the entire alloc dir. Make sure to revert back to sane settings after testing)? |
I think that I found a cause of the issue. I have something like that When I looked into directory tmp located in allocation I saw: then less of executor.out: The crucial part is Unfortunately I don't know how to add read permission on Artifact stanza :( |
Is this on the roadmap to be fixed? |
Doing a bit of issue cleanup. The underlying issue here is the artifact permissions, which we have open as an open feature request in #2625. |
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. |
Nomad version
Nomad
0.3.0
and0.3.1
Operating system and Environment details
Amazon Linux running the following kernel version:
Issue
It seems there's an issue while executing a job that uses the isolated exec driver. I get permission denied while running simple jobs that for example pings a website. I started a thread in the google group and @dadgar suggested moving the conversation to an issue. At the time of that thread I was using Nomad 0.3.0, we've moved to 0.3.1 and the same thing's happening.
Job file
I hope this is useful! Thanks.
The text was updated successfully, but these errors were encountered: