Skip to content

AttributeError: '_thread._local' object has no attribute 'callers' #44648

Closed

Description

@rahulgoyal2987

Apache Airflow version

2.10.3

If "Other Airflow 2 version" selected, which one?

No response

What happened?

Airflow error message
[2024-12-04, 15:49:18 IST] {taskinstance.py:3311} ERROR - Task failed with exception
Traceback (most recent call last):
File "/home/airflow/.local/lib/python3.11/site-packages/airflow/models/taskinstance.py", line 767, in _execute_task
result = _execute_callable(context=context, **execute_callable_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.11/site-packages/airflow/models/taskinstance.py", line 733, in _execute_callable
return ExecutionCallableRunner(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.11/site-packages/airflow/utils/operator_helpers.py", line 252, in run
return self.func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.11/site-packages/airflow/models/baseoperator.py", line 408, in wrapper
cls._sentinel.callers[sentinel_key] = sentinel
^^^^^^^^^^^^^^^^^^^^^
AttributeError: '_thread._local' object has no attribute 'callers'

What you think should happen instead?

No response

How to reproduce

Create airflow KubernetesPodOperator in airflow version 2.10.3

Operating System

Airflow official helm chart

Versions of Apache Airflow Providers

NA

Deployment

Official Apache Airflow Helm Chart

Deployment details

NA

Anything else?

NA

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. rahulgoyal2987 commented on Dec 4, 2024

    @rahulgoyal2987
    ContributorAuthor

    Please find PR related to defect fix
    #44646

  2. eladkal commented on Jan 28, 2025

    @eladkal
    Contributor

    fixed in #44646

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetprovider:cncf-kubernetesKubernetes (k8s) provider related issues

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions