Repository navigation
Closed
Labels
area:providerskind:bugThis is a clearly a bugkind:metaHigh-level information important to the communityprovider:celery
Description
Body
The 3.16.0 provider installed with Airflow 2.11.1 fails celery executor with:
Traceback (most recent call last):
File "/home/airflow/.local/lib/python3.10/site-packages/airflow/jobs/scheduler_job_runner.py", line 1008, in _execute
self._run_scheduler_loop()
File "/home/airflow/.local/lib/python3.10/site-packages/airflow/jobs/scheduler_job_runner.py", line 1153, in _run_scheduler_loop
executor.heartbeat()
File "/home/airflow/.local/lib/python3.10/site-packages/airflow/traces/tracer.py", line 58, in wrapper
return func(*args, **kwargs)
File "/home/airflow/.local/lib/python3.10/site-packages/airflow/executors/base_executor.py", line 244, in heartbeat
self.trigger_tasks(open_slots)
File "/home/airflow/.local/lib/python3.10/site-packages/airflow/traces/tracer.py", line 58, in wrapper
return func(*args, **kwargs)
File "/home/airflow/.local/lib/python3.10/site-packages/airflow/executors/base_executor.py", line 383, in trigger_tasks
self._process_tasks(task_tuples)
File "/home/airflow/.local/lib/python3.10/site-packages/airflow/providers/celery/executors/celery_executor.py", line 150, in _process_tasks
task_tuples_to_send = [task_tuple[:3] + (self.team_name,) for task_tuple in task_tuples]
File "/home/airflow/.local/lib/python3.10/site-packages/airflow/providers/celery/executors/celery_executor.py", line 150, in <listcomp>
task_tuples_to_send = [task_tuple[:3] + (self.team_name,) for task_tuple in task_tuples]
AttributeError: 'CeleryExecutor' object has no attribute 'team_name'Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.
Metadata
Metadata
Assignees
Labels
area:providerskind:bugThis is a clearly a bugkind:metaHigh-level information important to the communityprovider:celery
Activity
potiuk commentedon Feb 14, 2026
cc: @vincbeck @o-nikolas
o-nikolas commentedon Feb 14, 2026
I don't see that exception if I follow the provided link to the test run. I do see some Local and Celery executor tests timing out on K8s though?Never mind I see the error now. I'm very confused how this is only failing now. Many tests were run on 2.11 with the full tests needed label on. Looking into it though.
o-nikolas commentedon Feb 14, 2026
I'm not really sure how to reproduce the failure on my laptop with
breeze testing docker-compose-tests@potiuk do I have to build a specific prod image first?potiuk commentedon Feb 14, 2026
See the ocmments in PR - it was really 2.11.1 tests in
v2-11-test.JegadeeshManickam commentedon Feb 24, 2026
We are facing the same issue, whats the version to use to fix the above
o-nikolas commentedon Feb 24, 2026
@potiuk the latest provider release starting today should resolve this right?
potiuk commentedon Feb 25, 2026
@JegadeeshManickam -> like with all deps, constraints matter -> look at constraints that airflow comes with (3.15.2 is currently there).
Note, that there was a need to re-publish 2.11.1 image as explained in https://lists.apache.org/thread/dy4v94h1tnowh9nn7z5l0gld8c82oocy (and described in changelog of the docker-stack) - so you might have used the previous version of the image that could have unbounded dependencies.
potiuk commentedon Feb 25, 2026
Yes. And we are planning 2.11.2 soon as well with few other minor things found already, so it should be part of 2.11.2 image, but we are waiting for more people reporting (potentially) some issues with 2.11.1 to do it.