VladaZakharova commented on PR #46639:
URL: https://github.com/apache/airflow/pull/46639#issuecomment-2665764943
Hi there!
I have some questions regarding the changes here. I was testing them and
when deleting pod in deferrable mode I got this error:
```
[2025-02-18T09:59:22.793+0000] {pod.py:187} INFO - Checking pod
'***-test-pod-26vndv58' in namespace 'default'.
[2025-02-18T09:59:22.798+0000] {base.py:65} INFO - Retrieving connection
'kubernetes_default'
[2025-02-18T09:59:38.813+0000] {pod.py:226} INFO - Deleting pod from
kubernetes cluster
[2025-02-18T09:59:38.813+0000] {pod.py:232} ERROR - Error during
cancellation handling: 'KubernetesPodTrigger' object has no attribute
'config_file'
```
As I understand we are trying to call delete_pod() method as a clean-up, but
this method does not accept config_file, since all config is passed to
triggerer as config_dict parameter, not config_file.
Also since that method was not called, the pod was not deleted after
cancelling task on UI. Can you please provide maybe screenshots of your run and
logs from it?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]