This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Can't connect to redis sentinel #34668
Labels
area:core
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
Apache Airflow version
2.7.1
What happened
When running either
airflow celery worker
orairflow celery flower
following error happensWhat you think should happen instead
This can be fixed by pinning redis to 5.0.1, which includes the following fix redis/redis-py#2922, in the 2.7 constraints files.
How to reproduce
Use redis sentinel as a broker.
I had the following setting
broker_url = sentinel://X.X.X.X:26379/0;sentinel://X.X.X.X:26379/0;sentinel://X.X.X.X:26379/0
Operating System
Container with Oracle Linux 8
Versions of Apache Airflow Providers
No response
Deployment
Other Docker-based deployment
Deployment details
Custom image where we install airflow with
pip install apache-airflow[redis,celery]==1.7.1 --contrains https://raw.githubusercontent.com/apache/airflow/constraints-2.7.1/constraints-3.9.txt
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: