-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
affected_version:2.8Issues Reported for 2.8Issues Reported for 2.8area:monitoringkind:bugThis is a clearly a bugThis is a clearly a bug
Description
Apache Airflow version
2.8.1
If "Other Airflow 2 version" selected, which one?
No response
What happened?
Our sentry has captured this error in sentry.py:
Looks at the TaskInstance class, the task attribute has a comment saying it's not always set. I think this is the case where it's not set.
airflow/airflow/models/taskinstance.py
Line 1312 in e1b032d
| task: Operator # Not always set... |
What you think should happen instead?
Sentry add_tagging() should not raise exceptions
How to reproduce
I'm not sure, but this seems to happen if a worker node is forcefully shut down when it's in the middle of running a task.
Operating System
Airflow 2.8.1 Python 3.11 Docker
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
On EKS.
Anything else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Sergius71
Metadata
Metadata
Assignees
Labels
affected_version:2.8Issues Reported for 2.8Issues Reported for 2.8area:monitoringkind:bugThis is a clearly a bugThis is a clearly a bug

