I created a collection of dags dynamically (using the same .py for all). And there is one build-DAG
that I cannot run :
airflow.exceptions.AirflowException: dag_id could not be found: `build-DAG`. Either the dag did not exist or it failed to parse.
at get_dag (/usr/local/lib/python2.7/site- packages/airflow/bin/cli.py:130)
at run (/usr/local/lib/python2.7/site-packages/airflow/bin/cli.py:353)
at <module> (/usr/local/bin/airflow:27)
For this dag I can see previous logs, code and all the stuff in the UI but I can't run it. Any idea how to debug this? could be useful to restart composer instances?
The rest of the dags dynamically created works fine.
I'm using something similar to this in order to create the dags: https://gist.github.com/tmarthal/edeae7f6f8780dc53887a16b7b20f205
Thanks in advice. Edu
Update: I'm using composer-0.5.1-airflow-1.9.0
Update August 2, 2018 : I migrated to composer-1.0.0-airflow-1.9.0 and still happen