You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "johnhoran (via GitHub)" <gi...@apache.org> on 2025/11/19 14:59:01 UTC
[I] KPO deferring unnesserially on retry [airflow]
johnhoran opened a new issue, #58490:
URL: https://github.com/apache/airflow/issues/58490
### Apache Airflow Provider(s)
cncf-kubernetes
### Versions of Apache Airflow Providers
When using KubernetesPodOperator in deferred mode I recently ran into an issue where airflow wasn't able to hand back from the triggerer to the worker. The underlying pod had succeeded but the task failed, and subsequent retries failed for the same reason until the task was manually cleared. I suspect there is some underlying bug here, that I'm not currently able to reproduce, but I think it raises another point.
KPO doesn't actually try recreate the pod on task failure, it tries to adopt the existing pod. If the existing pod has succeeded by the time we get to the retry, then why defer at all, can we just go straight to the reentry method?
### Apache Airflow version
2.11
### Operating System
linux
### Deployment
Official Apache Airflow Helm Chart
### Deployment details
_No response_
### What happened
_No response_
### What you think should happen instead
_No response_
### How to reproduce
-
### Anything else
_No response_
### Are you willing to submit PR?
- [x] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] KPO deferring unnesserially on retry [airflow]
Posted by "johnhoran (via GitHub)" <gi...@apache.org>.
johnhoran commented on issue #58490:
URL: https://github.com/apache/airflow/issues/58490#issuecomment-3553246016
Only seems to happen because I'm creating a pod with a base container and then a sidecar keep the pod alive so I can pull some artifacts out of it once the pod completes. Similar to how the xcoms sidecar works...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] KPO deferring unnesserially on retry [airflow]
Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl closed issue #58490: KPO deferring unnesserially on retry
URL: https://github.com/apache/airflow/issues/58490
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org