Hi, I'm trying to figure out how does trigger_dag works.
here is my command and output:
bash-4.1# airflow trigger_dag c1604_na
[2016-04-19 14:15:06,454] {__init__.py:36} INFO - Using executor SequentialExecutor
[2016-04-19 14:15:06,692] {cli.py:107} INFO - Created <DagRun c1604_na @ 2016-04-19 14:15:06.673657: manual__2016-04-19T14:15:06.673657, externally triggered: True>
I go to webserver UI and see that there is the dag_run in RUNNING stage.
Database table has the the record for the dag_run I see. But nothing happens. DAG doesn't start.
My DAG default args are:
default_args = {
'owner': 'airflow',
'start_date': datetime.now()
}
DAG schedule_interval is set to '@once'
BTW, I tried to run example_trigger_controller_dag
bash-4.1# airflow trigger_dag example_trigger_controller_dag
[2016-04-19 14:21:42,073] {__init__.py:36} INFO - Using executor SequentialExecutor
[2016-04-19 14:21:42,318] {cli.py:107} INFO - Created <DagRun example_trigger_controller_dag @ 2016-04-19 14:21:42.299106: manual__2016-04-19T14:21:42.299106, externally triggered: True>
Webserver UI tab named "DAGs" is not updated also. I see DAGs there, but their statues are not updated.