getsentry / airflow-metrics

Metrics for airflow
Apache License 2.0
14 stars 6 forks source link

Issue while initializing web in Airflow 1.10.4 #48

Open estefaniarabadan opened 4 years ago

estefaniarabadan commented 4 years ago

I know it says that it's only been tested for >=1.10.2, <=1.10.3, but I wanted to share this in case someone has a solution or is something that helps in new versions of airflow-metrics.

I'm adding airflow-metrics in the puckel/docker-airflow using the official helm chart everything configured with an external Postgres instance.

When I add the airflow.cfg properties, scheduler starts ok, but the web pod has this error:

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: connection

Any idea how this can be solved?

Zylphrex commented 4 years ago

This error seems unrelated. Please check that your database has been initialized correctly as the connections table should exist once airflow correctly set up.