charliegriefer edited a comment on issue #11225:
URL: https://github.com/apache/airflow/issues/11225#issuecomment-901995246


   @sudarshan2906 - can you show the `celery_config_options` line in your 
`airflow.cfg`? I'm doing something similar, but getting an error on the 
scheduler saying:
   
   > airflow.exceptions.AirflowConfigException: The object could not be loaded. 
Please check "celery_config_options" key in "celery" section. Current value: 
"celery_config.MY_CELERY_CONFIG".
   
   My `celery_config` is in my AIRFLOW_HOME, and currently it's pretty basic:
   
   ```
   from airflow.config_templates.default_celery import DEFAULT_CELERY_CONFIG
   
   MY_CELERY_CONFIG = {
       **DEFAULT_CELERY_CONFIG
   }
   ```
   
   EDIT to add, an exception higher up in the stack trace: `[2021-08-19 
09:19:06,303] {configuration.py:468} ERROR - No module named 'celery_config'`, 
so it's just not finding the file.  
   
   The specific line in my airflow.cfg: `celery_config_options = 
celery_config.MY_CELERY_CONFIG`
   
   
   Thanks!


-- 
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