-
Notifications
You must be signed in to change notification settings - Fork 14.2k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to redis sentinel #34668
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
This limitation comes from apache-airflow-providers-redis. pip install "apache-airflow==2.7.1" "redis==5.0.1" |
airflow/airflow/providers/redis/provider.yaml Lines 41 to 47 in 21990ed
|
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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: