-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
'airflow db clean' with --skip-archive flag fails #33606
Comments
I was able to replicate this issue, I can dive a bit deeper later today - feel free to assign it to me. |
Did :). Looks like one assingment a day for you recently :) |
I've got some time at work set aside for hacking / learning, so I figured I'd hop over here and clean up some issues. Let me know if there's anything in particular you could use help on :) |
I have one particular issue that I had no time to look at - as I do not really understand how it is "supposed to work" - it's been 2.6.2/3 regression I think and it is related to cleaning DAG acces level permissions by DagFileProcessor .... I think That is a regression added recently that we had no time to look at and it kind of bugs me. I can share more details if you want :D |
Sounds interesting, is there an open issue? Please share more details |
Here it is. @SamWheating Issue here: #32839 |
Saw that there is already a PR |
Apache Airflow version
2.7.0
What happened
Running
airflow db clean -y -v --skip-archive --clean-before-timestamp '2023-05-24 00:00:00'
fails.Running the same command without the
--skip-archive
flag passes successfully.What you think should happen instead
db clean command with --skip-archive should pass
How to reproduce
airflow db clean -y -v --skip-archive --clean-before-timestamp '2023-05-24 00:00:00'
Operating System
Debian GNU/Linux 11 (bullseye)
Versions of Apache Airflow Providers
apache-airflow-providers-amazon==8.5.1
apache-airflow-providers-celery==3.3.2
apache-airflow-providers-cncf-kubernetes==7.4.2
apache-airflow-providers-common-sql==1.7.0
apache-airflow-providers-daskexecutor==1.0.0
apache-airflow-providers-docker==3.7.3
apache-airflow-providers-elasticsearch==5.0.0
apache-airflow-providers-ftp==3.5.0
apache-airflow-providers-google==8.3.0
apache-airflow-providers-grpc==3.2.1
apache-airflow-providers-hashicorp==3.4.2
apache-airflow-providers-http==4.5.0
apache-airflow-providers-imap==3.3.0
apache-airflow-providers-jenkins==3.3.1
apache-airflow-providers-microsoft-azure==6.2.4
apache-airflow-providers-mysql==5.2.1
apache-airflow-providers-odbc==4.0.0
apache-airflow-providers-openlineage==1.0.1
apache-airflow-providers-postgres==5.6.0
apache-airflow-providers-redis==3.3.1
apache-airflow-providers-salesforce==5.4.1
apache-airflow-providers-sendgrid==3.2.1
apache-airflow-providers-sftp==4.5.0
apache-airflow-providers-slack==7.3.2
apache-airflow-providers-snowflake==4.4.2
apache-airflow-providers-sqlite==3.4.3
apache-airflow-providers-ssh==3.7.1
apache-airflow-providers-tableau==4.2.1
Deployment
Official Apache Airflow Helm Chart
Deployment details
Helm version 1.9.0
Deployed on AWS EKS cluster
MetaDB is a AWS Postgres RDS connected using a PGBouncer
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: