Error migrating database to Airflow version 2.9.3 #40928
Labels
affected_version:2.9
area:core
area:db-migrations
PRs with DB migration
kind:bug
This is a clearly a bug
Apache Airflow version
2.9.3
If "Other Airflow 2 version" selected, which one?
No response
What happened?
When upgrading the database from 2.7.0 or 2.9.2 via
airflow db migrate
, I get the following error messageWhat you think should happen instead?
The db migration should successfully finish.
How to reproduce
Start with airflow 2.9.3, an empty mysql database. The initial new creation of new database objects works well.
Now run, for example
Run
Operating System
Debian GNU/Linux 11 (bullseye)
Versions of Apache Airflow Providers
apache-airflow-providers-amazon==8.26.0
apache-airflow-providers-common-io==1.3.2
apache-airflow-providers-common-sql==1.14.2
apache-airflow-providers-fab==1.2.1
apache-airflow-providers-ftp==3.10.0
apache-airflow-providers-hashicorp==3.7.1
apache-airflow-providers-http==4.12.0
apache-airflow-providers-imap==3.6.1
apache-airflow-providers-smtp==1.7.1
apache-airflow-providers-sqlite==3.8.1
Deployment
Other Docker-based deployment
Deployment details
Mysql version (docker) mysql:8.0.34
Anything else?
Found on staging, error logs come from development environment which seemed identical.
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: