Behavior change in airflow db clean after upgrading from Airflow 3.0.6 to 3.1.x (Read-only filesystem error) #60113
Unanswered
kang-seongbeom
asked this question in
Q&A
Replies: 1 comment
-
|
Could you please provide more details and stack trace of the failing case? Whether it's intentional or bug can be likely answere after seeing where it occurs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After upgrading Airflow from 3.0.6 to 3.1.0, I am seeing a change in behavior with the airflow db clean command.
I am running Airflow on Kubernetes. To clean the database, I use a Kubernetes CronJob that creates a separate Airflow pod and executes airflow db clean inside that pod. This setup worked without any issues up to Airflow 3.0.6.
However, when using Airflow 3.1.0 or later, the airflow db clean command fails with the following error:
OSError: [Errno 30] Read-only file system: '/opt/airflow/logs'
Because of this error, the Cronjob does not complete successfully.
My questions are:
Any clarification or guidance would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions