jonathanjuursema opened a new issue, #28010:
URL: https://github.com/apache/airflow/issues/28010

   ### Apache Airflow version
   
   2.4.3
   
   ### What happened
   
   When configuring Airflow/Celery to use Redis Sentinel as a broker, the 
following pops up:
   
   ```
   airflow.exceptions.AirflowException: The broker you configured does not 
support SSL_ACTIVE to be True. Please use RabbitMQ or Redis if you would like 
to use SSL for broker.
   ```
   
   ### What you think should happen instead
   
   Celery has supported TLS on Redis Sentinel [for a 
while](https://docs.celeryq.dev/en/latest/history/whatsnew-5.1.html#support-redis-sentinel-with-ssl)
 now.
   
   It looks like [this piece of 
code](https://github.com/apache/airflow/blob/main/airflow/config_templates/default_celery.py#L68-L88)
 explicitly prohibits from passing a valid Redis Sentinel TLS configuration 
through to Celery.
   
   ### How to reproduce
   
   This problem can be reproduced by deploying Airflow using Docker with the 
following environment variables:
   
   ```
   
AIRFLOW__CELERY__BROKER_URL=sentinel://sentinel1:26379;sentinel://sentinel2:26379;sentinel://sentinel3:26379
   AIRFLOW__CELERY__SSL_ACTIVE=true
   AIRFLOW__CELERY_BROKER_TRANSPORT_OPTIONS__MASTER_NAME='some-master-name'
   AIRFLOW__CELERY_BROKER_TRANSPORT_OPTIONS__PASSWORD='some-password'
   AIRFLOW__LOGGING__LOGGING_LEVEL=DEBUG
   ```
   
   ### Operating System
   
   Docker (apache/airflow:2.4.3-python3.10)
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Deployment details
   
   Deployed using Nomad.
   
   ### Anything else
   
   This is my first issue with this open source project. Please let me know if 
there's more relevant information I can provide to follow through on this issue.
   
   I will try to make some time available soon to see if a simple code change 
in the earlier mentioned file would work, but as this is my first issue here I 
would still have to set-up a full development environment.
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to