ask/celery — Issue #561: celeryd not seen by celeryev using database broker
Author: martijnvermaat
Created: 2011-12-08 08:49:45+00:00
State: open

This is on Ubuntu 10.10 with Python 2.6 and Celery 2.4.2 installed in a virtualenv and using PIP using PostgreSQL as result backend and broker. I use the following celeryconfig.py and tasks.py:

CELERY_RESULT_BACKEND = 'database'
CELERY_RESULT_DBURI = 'postgresql://celery:celery@localhost/celeryresults'
BROKER_TRANSPORT = 'sqlalchemy'
BROKER_HOST = 'postgresql://celery:celery@localhost/celerybroker'
CELERY_IMPORTS = ('tasks',)

from celery.task import task
@task
def add(x, y):
return x + y

Now, I run:

celeryev
celeryd -l info -E

I can use the celeryd and the workers successfuly (i.e. run the task), but I don't see anything in celeryev. No worker nodes, no tasks. Same for celerymon and using MySQL as broker.

With RabbitMQ everything works. I'm quite new to Celery, so I don't know if this is expected behaviour with anything than the RabbitMQ broker?