Repository navigation
|
Similar issue: #33744 (comment) I've deployed Airflow on GKE with the I shelled into the airflow@airflow-scheduler-7bb8dc9dd7-27thc:/opt/airflow$ pip freeze | grep redis
apache-airflow-providers-redis==3.4.0
google-cloud-redis==2.13.2
redis==4.6.0
airflow@airflow-scheduler-7bb8dc9dd7-27thc:/opt/airflow$ pip freeze | grep celery
apache-airflow-providers-celery==3.4.1
celery==5.3.4
airflow@airflow-scheduler-7bb8dc9dd7-27thc:/opt/airflow$ python
Python 3.8.18 (default, Nov 1 2023, 14:44:54)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import redis
>>> from redis import client
>>>
|
Replies: 3 comments 9 replies
|
Wrong POD. Mostly something on your celery workers causes redis to be upgraded. But what it is and how - impossible to say . You need to check what your |
|
seeing same exact error in apache/airflow:2.7.3-python3.9 too. I was using apache/airflow:2.7.3-python3.8 as well and after seeing this discussion upgraded to apache/airflow:2.7.3-python3.9 and it worked for sometime, now I see it again. Any workaround for this ? |
|
For those still running into this, a detailed explanation of the cause can be found in #41359 |
Also, it's likely that you have mistake in your deployment and either old containers or ones that use different images. Look for typos and the like.