I am sure that the name registered in the workplace does not match the name of the client.
Launch celeryd with
celery worker -l info
To view a list of registered tasks, make sure that the task you need is listed with the same name.
See here why this is important and some common reasons: http://docs.celeryproject.org/en/latest/userguide/tasks.html#task-names , and especially: http://docs.celeryproject.org/ en / latest / userguide / tasks.html # automatic-naming-and-relative-imports
If your task is listed with the same name, then you may have an old worker, still running, that does not update with the latest code. Kill all working employees with
ps auxww | awk ' /celeryd/ {print $2}' | xargs kill -9
(note that this will stop all running tasks and you will not be able to return them when using the redis transport)
In the future, you should make sure that you do not start new workers on top of the old ones with the --pidfile argument for celeryd.
@ Linux warrior: In fact, the task decorator supports both calls (with or without parents) using dark magic :)
source share