Skip to content
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

External DAG processor not working #23447

Closed
1 of 2 tasks
allebacco opened this issue May 3, 2022 · 6 comments
Closed
1 of 2 tasks

External DAG processor not working #23447

allebacco opened this issue May 3, 2022 · 6 comments
Labels
duplicate Issue that is duplicated

Comments

@allebacco
Copy link

allebacco commented May 3, 2022

Apache Airflow version

2.3.0 (latest released)

What happened

Running a standalone Dag Processor instance with airflow dag-processor throws the following exception:

Standalone DagProcessor is not supported when using sqlite.

What you think should happen instead

The airflow dag-processor should start without an exception in case of Postgres database

How to reproduce

The error is in the following line:

sql_conn: str = conf.get('core', 'sql_alchemy_conn').lower()

It should be

sql_conn: str = conf.get('database', 'sql_alchemy_conn').lower() 

due to the change in the configuration file done in #22284

Operating System

Ubuntu 20.04

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

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

@allebacco allebacco added area:core kind:bug This is a clearly a bug labels May 3, 2022
@boring-cyborg
Copy link

boring-cyborg bot commented May 3, 2022

Thanks for opening your first issue here! Be sure to follow the issue template!

@eladkal
Copy link
Contributor

eladkal commented May 3, 2022

Duplicate of #23408

@eladkal eladkal marked this as a duplicate of #23408 May 3, 2022
@eladkal eladkal closed this as completed May 3, 2022
@eladkal eladkal added duplicate Issue that is duplicated and removed kind:bug This is a clearly a bug area:core labels May 3, 2022
@allebacco
Copy link
Author

@eladkal are you sure that thias issue is a duplicate? In this case I am not using AIRFLOW__CORE__SQL_ALCHEMY_CONN_CMD.

The line mentioned in the description of the issue is reading the sql alchemy connection string from the core section instead of the database one. Maybe I am missing some detail of the configuration mechanism.

@potiuk
Copy link
Member

potiuk commented May 8, 2022

@mhenc - can you take a look please?

@tirkarthi
Copy link
Contributor

I guess this can be closed now with #23575 merged .

@potiuk potiuk closed this as completed May 9, 2022
@potiuk
Copy link
Member

potiuk commented May 9, 2022

Indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issue that is duplicated
Projects
None yet
Development

No branches or pull requests

4 participants