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

   ### Apache Airflow version
   
   Other Airflow 2 version
   
   ### What happened
   
   Hi ,
   I am using Airflow 2.3.2 and getting below Warning while calling Airflow 
APIs ,
   
   airflow jobs check
   
/opt/bitnami/airflow/venv/lib/python3.8/site-packages/airflow/configuration.py:356:
 FutureWarning: The auth_backends setting in [api] has had 
airflow.api.auth.backend.session added in the running config, which is needed 
by the UI. Please update your config before Apache Airflow 3.0. warnings.warn(
   Found one alive job.
   
   airflow version
   
/opt/bitnami/airflow/venv/lib/python3.8/site-packages/airflow/configuration.py:356:
 FutureWarning: The auth_backends setting in [api] has had 
airflow.api.auth.backend.session added in the running config, which is needed 
by the UI. Please update your config before Apache Airflow 3.0.  warnings.warn(
   2.3.2
   
   I tried to override AUTH_BACKENDS as below , but default values is still in 
use and not getting overridden by my value.
   
   name: AIRFLOW__API__AUTH_BACKENDS
   value: "airflow.api.auth.backend.basic_auth"
   In airflow.cfg , Currently I see two values for auth_backends as below ,
   auth_backends : 
airflow.api.auth.backend.basic_auth,airflow.api.auth.backend.session
   -- | --
   
   Because of this behavior , am unable to apply livness probe on SCHEDULER to 
autorestart if heartbeat not received.
   
   Please help to resolve this warning or override auth_backend default value.
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   _No response_
   
   ### Operating System
   
   Ubuntu 18.04.5 LTS
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other 3rd-party Helm chart
   
   ### Deployment details
   
   https://github.com/bitnami/charts/tree/master/bitnami/airflow
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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