-
Apache Airflow version2.10.3 If "Other Airflow 2 version" selected, which one?No response What happened?I have a latest (2.10.3) airflow installed in k8s.
I find out that if a task failed and retry, the log address This attemp failed to get the log. Note that this actually run on airflow-worker-1 and logs are avaliable on local path This is because the host is over written by the last attempt: I think the code here in
What you think should happen instead?Each attempt should has its own host. How to reproduce
Operating SystemDebian GNU/Linux 12 (bookworm) Versions of Apache Airflow ProvidersNo response DeploymentDocker-Compose Deployment detailsNo response Anything else?No response Are you willing to submit PR?
Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
Beta Was this translation helpful? Give feedback.
-
This can be easily solved (and is recommended now) by having a shared volume where you keep logs. We are not likely to address it because we are completely changing it for Airflow 3 - and logs will be retrieved via Task API server, not via workers most likely, so we can convert that to a discussion now. |
Beta Was this translation helpful? Give feedback.
This can be easily solved (and is recommended now) by having a shared volume where you keep logs. We are not likely to address it because we are completely changing it for Airflow 3 - and logs will be retrieved via Task API server, not via workers most likely, so we can convert that to a discussion now.