-
Apache Airflow version2.3.0 (latest released) What happenedupgraded from 2.2.5 airflow db upgrade showed a list of messages inline with what is in the changelog: Database configuration moved to new section (#22284) The following configurations have been moved from [core] to the new [database] section. However when reading the new option, the old option will be checked to see if it exists. If it does a DeprecationWarning will be issued and the old option will be used instead.
so nice as I am I moved those lines from [core] to a new [database] section and airflow db upgrade did not mention them again so all was well. After that I started the services sudo systemctl start airflow-webserver.service but the webservice failed with this error: May 04 08:46:21 postest airflow[108983]: [2022-05-04 08:46:21 +0200] [108983] [ERROR] Exception in worker process for now I duplicated the lines, so they are both in [core] and [database], so no big issue. What you think should happen insteadservice should start and find the settings in the [database] section How to reproduceupgrade from 2.2.5, move the lines in question to a new [database] section and start the webservice. Operating SystemUbuntu 20.04.4 LTS (Focal Fossa) Versions of Apache Airflow Providersapache-airflow-providers-ftp==2.1.2 DeploymentOther Deployment detailsNo response Anything elseNo response Are you willing to submit PR?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 13 replies
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
Likeluy your worker processes are not upgraded yet. Check which airflow versions they have. |
Beta Was this translation helpful? Give feedback.
-
Converted to a discussion. |
Beta Was this translation helpful? Give feedback.
-
@potiuk , We upgraded to 2.3.0 and used mySQL db. In airflow DB one of the table dag_run although it exits also has entries of all the dags which are running, but when the scheduler triggers the Dag, it gives the error mentioned in the "Error" section. Request, to help us to know if there are any configuration-related issues or if any RBAC got introduced in 2.3.0 release. Also let us know if you guide us to open a new discussion thread. Thought to use this thread as the issue is on the similar lines Apache Airflow version What happened Issue Error Providers info |
Beta Was this translation helpful? Give feedback.
-
This still occurs for me for Webserver even on 2.3.1. Is it solved for sure? |
Beta Was this translation helpful? Give feedback.
Likeluy your worker processes are not upgraded yet. Check which airflow versions they have.