Replies: 5 comments 6 replies
-
The message is quite clear - and this is your deployment problem, not Airflow. You have non-compliant POSIX filesystem mounted for your logs (likely Windows-related). Airflow is only supposed to work with POSIX compliant systems (See the note in https://airflow.apache.org/docs/apache-airflow/stable/installation/prerequisites.html) and if you mount a non-POSIX compliant volume to the docker container, it will not work in some cases like this. Change it to mount a POSIX-compliant filesystem there (but you need to figure out how to do it in your deployment as this is deployment-specific thing). |
Beta Was this translation helpful? Give feedback.
-
This is running 100% on linux though... |
Beta Was this translation helpful? Give feedback.
-
That was my guess - ther are similar to issues (if you google them) that this happens on Windows filesystem. You need to check if all your volumes POSIX compliant. You should also take a close look how your logging is configured. Seems that the error really has nothing to do with Airflow - this is (possibly) BaseRotatingLogHandler which tries to do a filesystem operation on non-POSIX volume (apparently). Airflow does not configure RotatingFileHandler so it's either your configuration or Bitnami image configuration - in neither case it's Airflow bug most likely. I will convert the issue to discussion - maybe other users had similar problems, but you should really try to investigate and understand your deployment. |
Beta Was this translation helpful? Give feedback.
-
I have the same error, but the version is different |
Beta Was this translation helpful? Give feedback.
-
How to deal with this problem, I also encountered it |
Beta Was this translation helpful? Give feedback.
-
Apache Airflow version
2.2.3 (latest released)
What happened
Ive seen this bug in 2.1.4 and 2.2.3.
What you expected to happen
No response
How to reproduce
No response
Operating System
ubuntu 20.04 - docker ce - bitnami prebuilt images
Versions of Apache Airflow Providers
bitnami airflow container 2.2.3
from inside container
Deployment
Docker-Compose
Deployment details
bitnami airflow images. tested on 2.1.4 and 2.2.3.
Anything else
every minute or so the error appears in airflow logs
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions