Taragolis commented on issue #35268:
URL: https://github.com/apache/airflow/issues/35268#issuecomment-1784876890

   I assume that you do not set correct executor type and in this case it won't 
load non-related configs in airflow cli
   
   
https://airflow.apache.org/docs/apache-airflow-providers-celery/3.3.4/cli-ref.html
   > Sub-commands
   celery
   Start celery components. Works only when using CeleryExecutor. For more 
information, see
   
   ```console
   ❯ export AIRFLOW__CORE__EXECUTOR="CeleryExecutor"
   
   ❯ airflow celery --help
   Usage: airflow celery [-h] COMMAND ...
   
   Start celery components. Works only when using CeleryExecutor. For more 
information, see 
https://airflow.apache.org/docs/apache-airflow/stable/executor/celery.html
   
   Positional Arguments:
     COMMAND
       flower    Start a Celery Flower
       stop      Stop the Celery worker gracefully
       worker    Start a Celery worker node
   
   Optional Arguments:
     -h, --help  show this help message and exit
   
   ❯ airflow celery flower --help
   Usage: airflow celery flower [-h] [-A BASIC_AUTH] [-a BROKER_API] [-D] [-c 
FLOWER_CONF] [-H HOSTNAME] [-l LOG_FILE] [--pid [PID]] [-p PORT] [--stderr 
STDERR] [--stdout STDOUT]
                                [-u URL_PREFIX] [-v]
   
   Start a Celery Flower
   
   Optional Arguments:
     -h, --help            show this help message and exit
     -A, --basic-auth BASIC_AUTH
                           Securing Flower with Basic Authentication. Accepts 
user:password pairs separated by a comma. Example: flower_basic_auth = 
user1:password1,user2:password2
     -a, --broker-api BROKER_API
                           Broker API
     -D, --daemon          Daemonize instead of running in the foreground
     -c, --flower-conf FLOWER_CONF
                           Configuration file for flower
     -H, --hostname HOSTNAME
                           Set the hostname on which to run the server
     -l, --log-file LOG_FILE
                           Location of the log file
     --pid [PID]           PID file location
     -p, --port PORT       The port on which to run the server
     --stderr STDERR       Redirect stderr to this file
     --stdout STDOUT       Redirect stdout to this file
     -u, --url-prefix URL_PREFIX
                           URL prefix for Flower
     -v, --verbose         Make logging output more verbose
   ```


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to