You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am converting customized airflow helm chart to use Kubernetes Executor instead of Celery Executor. I have tried multiple configuration for it work but somehow executor pods always tries to connect to default sql alchemy connection. pasting error.
scheduler and webserver able to connect to correct db using configuration variable AIRFLOW__CORE__SQL_ALCHEMY_CONN.
I have provided pod template yaml inside tag kubernetesPodTemplate.stringOverride in values.yaml
Error: (logs from executor pod)
Traceback (most recent call last):
File "/usr/local/bin/airflow", line 5, in
from airflow.main import main
File "/usr/local/lib/python3.8/site-packages/airflow/init.py", line 46, in
settings.initialize()
File "/usr/local/lib/python3.8/site-packages/airflow/settings.py", line 447, in initialize
configure_orm()
File "/usr/local/lib/python3.8/site-packages/airflow/settings.py", line 222, in configure_orm
engine = create_engine(SQL_ALCHEMY_CONN, connect_args=connect_args, **engine_args)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/init.py", line 525, in create_engine
return strategy.create(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/strategies.py", line 54, in create
u = url.make_url(name_or_url)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/url.py", line 229, in make_url
return _parse_rfc1738_args(name_or_url)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/url.py", line 290, in _parse_rfc1738_args
raise exc.ArgumentError(
sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string ''postgresql+psycopg2://airflow:airflow@postgres:5432/airflow''
The text was updated successfully, but these errors were encountered:
I am converting customized airflow helm chart to use Kubernetes Executor instead of Celery Executor. I have tried multiple configuration for it work but somehow executor pods always tries to connect to default sql alchemy connection. pasting error.
scheduler and webserver able to connect to correct db using configuration variable AIRFLOW__CORE__SQL_ALCHEMY_CONN.
I have provided pod template yaml inside tag kubernetesPodTemplate.stringOverride in values.yaml
Error: (logs from executor pod)
Traceback (most recent call last):
File "/usr/local/bin/airflow", line 5, in
from airflow.main import main
File "/usr/local/lib/python3.8/site-packages/airflow/init.py", line 46, in
settings.initialize()
File "/usr/local/lib/python3.8/site-packages/airflow/settings.py", line 447, in initialize
configure_orm()
File "/usr/local/lib/python3.8/site-packages/airflow/settings.py", line 222, in configure_orm
engine = create_engine(SQL_ALCHEMY_CONN, connect_args=connect_args, **engine_args)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/init.py", line 525, in create_engine
return strategy.create(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/strategies.py", line 54, in create
u = url.make_url(name_or_url)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/url.py", line 229, in make_url
return _parse_rfc1738_args(name_or_url)
File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/url.py", line 290, in _parse_rfc1738_args
raise exc.ArgumentError(
sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string ''postgresql+psycopg2://airflow:airflow@postgres:5432/airflow''
The text was updated successfully, but these errors were encountered: