You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/01/26 12:48:56 UTC

[GitHub] [superset] kyarali opened a new issue #18176: Apache Superset Celery service email sending issue

kyarali opened a new issue #18176:
URL: https://github.com/apache/superset/issues/18176


   Hello
   
   When I try to start celery like a process I can send email from Apache Superset.
   
   celery --app=superset.tasks.celery_app:app worker --pool=prefork -O fair -c 4
   
    I created a Celery service with the following parameters:
   
   # Name of nodes to start
   # here we have a single node
   CELERYD_NODES="w1"
   # or we could have three nodes:
   #CELERYD_NODES="w1 w2 w3"
   
   # Absolute or relative path to the 'celery' command:
   CELERY_BIN="/venv/bin/celery"
   #CELERY_BIN="/virtualenvs/def/bin/celery"
   
   # App instance to use
   # comment out this line if you don't use an app
   CELERY_APP="superset.tasks.celery_app:app"
   # or fully qualified:
   #CELERY_APP="proj.tasks:app"
   
   # How to call manage.py
   CELERYD_MULTI="multi"
   
   # Extra command-line arguments to the worker
   CELERYD_OPTS="worker --pool=prefork -O fair -c 4"
   
   # - %n will be replaced with the first part of the nodename.
   # - %I will be replaced with the current child process index
   #   and is important when using the prefork pool to avoid race conditions.
   CELERYD_PID_FILE="/var/run/celery/%n.pid"
   CELERYD_LOG_FILE="/var/log/celery/%n%I.log"
   CELERYD_LOG_LEVEL="INFO"
   
   # you may wish to add these options for Celery Beat
   CELERYBEAT_PID_FILE="/var/run/celery/beat.pid"
   CELERYBEAT_LOG_FILE="/var/log/celery/beat.log"
   
   
   However, I can start celery service but I can not get any emails from Apache Superset. What can be the reason of this issue?
   
   Celery version: v5.2.3
   Python version: 3.8
   Apache Superset Version: 1.3.2
   OS: RHEL8


-- 
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: notifications-unsubscribe@superset.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] kyarali closed issue #18176: Apache Superset Celery service email sending issue

Posted by GitBox <gi...@apache.org>.
kyarali closed issue #18176:
URL: https://github.com/apache/superset/issues/18176


   


-- 
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: notifications-unsubscribe@superset.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org