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

.lock file created but no permission #97

Open
gfelot opened this issue Nov 17, 2020 · 0 comments
Open

.lock file created but no permission #97

gfelot opened this issue Nov 17, 2020 · 0 comments

Comments

@gfelot
Copy link

gfelot commented Nov 17, 2020

I'm trying to run your DAG for maintenance and the first time I tried it i got in the log

Another task is already deleting logs on this worker node.     Skipping it!
If you believe you're receiving this message in error, kindly check     if /tmp/airflow_log_cleanup_worker.lock exists and delete it.

I RM the file then retry it and got :

Lock file not found on this node!     Creating it to prevent collisions...
Error creating the lock file.         Check if the airflow user can create files under tmp directory.         Exiting...

The 3rd I got once again the issue with the .lock file

I have given the right to my user airflow to the /tmp folder with sudo setfacl -m u:airflow:rwx /tmp. How can my user create the ,lock file but then not having the right to do it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant