[
https://issues.apache.org/jira/browse/AIRFLOW-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ash Berlin-Taylor closed AIRFLOW-3498.
--------------------------------------
Resolution: Won't Fix
Due to lots of reasons, that is never going to work in Airflow.
> airflow cli subcommand - trigger_dag not working when start_date =
> datetime.utcnow()
> ------------------------------------------------------------------------------------
>
> Key: AIRFLOW-3498
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3498
> Project: Apache Airflow
> Issue Type: Bug
> Components: cli
> Affects Versions: 1.10.1
> Reporter: ProtossChris
> Priority: Critical
>
> 1. problem : with these default args
> {code:python}
> default_args = {
> "owner": "airflow",
> "depends_on_past": False,
> "start_date": datetime.utcnow(),
> }
> {code}
> Using airflow trigger_dag <dag_id> to trigger specific dag with success, but
> that DAG run is stuck with `running` status all the time.
> But not affect 1.10.0
> Quick produce steps :
> {code:bash}
> git clone https://github.com/puckel/docker-airflow.git
> cd docker-airflow
> sed -i "s/timedelta(1)/None/g" dags/tuto.py
> sed -i "s/datetime(2015, 6, 1)/datetime.utcnow()/g" dags/tuto.py
> export COMPOSE_FILE=docker-compose-LocalExecutor.yml
> docker-compose up -d
> # please wait for 30s.
> docker-compose exec webserver /entrypoint.sh airflow unpause tutorial
> docker-compose exec webserver /entrypoint.sh airflow trigger_dag tutorial
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)