vatsrahul1001 opened a new issue, #55689: URL: https://github.com/apache/airflow/issues/55689
### Apache Airflow version 3.0.6 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? I tried testing [PR](https://github.com/apache/airflow/pull/55231) and looks like we still are not able to downgrade without fab Getting error ``` Waiting for host: exact-harmonic-9007-pgbouncer.exact-harmonic-9007.svc.cluster.local 6543 Successfully connected to host: exact-harmonic-9007-pgbouncer.exact-harmonic-9007.svc.cluster.local 6543 Astro Runtime Version: 3.1-0-nightly20250908 /usr/local/lib/python3.12/site-packages/airflow/dag_processing/bundles/base.py:260 DeprecationWarning: The dag_dir_list_interval option in [scheduler[] has been moved to the refresh_interval option in [dag_processor] - the old setting has been used, but please update your config. /usr/local/lib/python3.12/site-packages/airflow/configuration.py:869 DeprecationWarning: The secret_key option in [webserver[] has been moved to the secret_key option in [api] - the old setting has been used, but please update your config. [2025-09-11T22:26:47.610+0000] {plugin.py:125} WARNING - Astro managed secrets backend is disabled Performing downgrade with database postgresql://exact_harmonic_9007_airflow:***@exact-harmonic-9007-pgbouncer.exact-harmonic-9007.svc.cluster.local:6543/exact-harmonic-9007-pgbouncer-metadata?sslmode=disable [2025-09-11T22:26:48.157+0000] {db.py:1203} INFO - Attempting downgrade to revision 5f2621c13b39 Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/airflow/utils/db.py", line 1261, in _handle_fab_downgrade from airflow.providers.fab.auth_manager.models.db import FABDBManager ModuleNotFoundError: No module named 'airflow.providers.fab' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/airflow", line 10, in <module> sys.exit(main()) ^^^^^^ File "/usr/local/lib/python3.12/site-packages/airflow/__main__.py", line 55, in main args.func(args) File "/usr/local/lib/python3.12/site-packages/airflow/cli/cli_config.py", line 49, in command return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/airflow/utils/cli.py", line 114, in wrapper return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/airflow/utils/providers_configuration_loader.py", line 54, in wrapped_function return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/airflow/cli/commands/db_command.py", line 214, in downgrade run_db_downgrade_command(args, db.downgrade, _REVISION_HEADS_MAP) File "/usr/local/lib/python3.12/site-packages/airflow/cli/commands/db_command.py", line 189, in run_db_downgrade_command command(to_revision=to_revision, from_revision=from_revision, show_sql_only=args.show_sql_only) File "/usr/local/lib/python3.12/site-packages/airflow/utils/session.py", line 100, in wrapper return func(*args, session=session, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/airflow/utils/db.py", line 1207, in downgrade _handle_fab_downgrade(session=session) File "/usr/local/lib/python3.12/site-packages/airflow/utils/db.py", line 1263, in _handle_fab_downgrade raise RuntimeError( RuntimeError: Import error occurred while importing FABDBManager. The apache-airflow-provider-fab package must be installed before we can downgrade to <3.0.0. stream closed EOF for exact-harmonic-9007/exact-harmonic-9007-run-airflow-migrations13-2-0-r5l7g (run-airflow-migrations) ``` ### What you think should happen instead? _No response_ ### How to reproduce 1. Try downgrading from AF3 to AF2 without DAv ### Operating System OS ### Versions of Apache Airflow Providers _No response_ ### Deployment Official Apache Airflow Helm Chart ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
