Replies: 6 comments
-
Additional Information: when using the CLI airflow dags trigger <dag_id> the dag is triggered immediatly and it is visible in the UI. It is not the case when I push the button "Trigger" in the UI: The DAG kept queued too long time. |
Beta Was this translation helpful? Give feedback.
-
Additional Information: I am getting the same behavior while triggering the DAG using REST API curl --location 'http:///api/v2/dags/<dag_id>/dagRuns' The DAG is kept queued for a long time. |
Beta Was this translation helpful? Give feedback.
-
Not reproducible with the information thaat you provided. You might want to try to find something in logs that is relevant to your case but without any way to reproduce it, there is no way your problem can be helped by anyone. Converted it into a discussion if you want to provide more data here and discuss it - if we find that this might ba an airflow issue we can always convert it to issue back. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I figured out the root cause ! It was related to my local time on my machine. It was wrong 15 minutes ahead. That's why it does not trigger immediatly. So the Logical Time was 15 minutes ahead. I noticed that this is not the case with Airflow 2.11.0. When I Trigger manually it is triggered immédiatly nevetheless my clock is 15 minute ahead. |
Beta Was this translation helpful? Give feedback.
-
Yes. It is a requirement to have the time synchronized on all machines. Its mentioned in a numner of places in our docs - for example: https://airflow.apache.org/docs/apache-airflow/stable/faq.html#what-to-do-if-you-see-disappearing-dags-on-ui (and it's absolutely normal to expect you do NOT have drifts) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Apache Airflow version
3.0.6
If "Other Airflow 2 version" selected, which one?
No response
What happened?
I deployed a DAG that is working OK with a schedule of 30 seconds. It works very well but When I am trying to trigger it manually it is queued for a too long time.
What you think should happen instead?
My understaing is that the manual trigger should be launched immediately or at least queued for a while and start execution.
How to reproduce
Just Trigger DAG Manually.
Operating System
Ubuntu
Versions of Apache Airflow Providers
No response
Deployment
Docker-Compose
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions