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

PermissionError: [Errno 13] Permission denied: '/usr/airflow/logs/scheduler' #146

Open
saikatharryc opened this issue Nov 5, 2020 · 2 comments

Comments

@saikatharryc
Copy link

Facing issue while using CeleryExecutor.

while the working is launching, its crashing with the below error:

PermissionError: [Errno 13] Permission denied: '/usr/airflow/logs/scheduler'

can we have a PVC or something?

@EvertonSA
Copy link

help:

Waiting for host: airflow-postgresql.sandbox.svc.cluster.local. 5432
Traceback (most recent call last):
  File "/usr/bin/airflow", line 25, in <module>
    from airflow.configuration import conf
  File "/usr/lib/python3.7/site-packages/airflow/__init__.py", line 31, in <module>
    from airflow.utils.log.logging_mixin import LoggingMixin
  File "/usr/lib/python3.7/site-packages/airflow/utils/__init__.py", line 24, in <module>
    from .decorators import apply_defaults as _apply_defaults
  File "/usr/lib/python3.7/site-packages/airflow/utils/decorators.py", line 36, in <module>
    from airflow import settings
  File "/usr/lib/python3.7/site-packages/airflow/settings.py", line 37, in <module>
    from airflow.configuration import conf, AIRFLOW_HOME, WEBSERVER_CONFIG  # NOQA F401
  File "/usr/lib/python3.7/site-packages/airflow/configuration.py", line 588, in <module>
    with open(TEST_CONFIG_FILE, 'w') as f:
PermissionError: [Errno 13] Permission denied: '/usr/local/airflow/unittests.cfg'

@danielhoherd
Copy link
Member

We will need more information about this error if it is still happening. A lot has happened in the last 3 years and it would not surprise me if this no longer happens.

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

No branches or pull requests

4 participants