Hi,
I have configured Rhodecode, Celery and RabbitMQ.
I started RabbitMQ first, followed by Celery :
paster celeryd production.ini
Then I started RhodeCode:
paster serve production.ini
Everything seems to work fine, but when I access the console of
RabbitMQ at:
http://locahost:55672/
I can see the celeryuser and celeryvhost, but I dont see any Queued
messages, i.e. the total messages is always 0 (zero) even after I did
several pull, pushes and after re-indexing Whoosh with the repsotory
also.
My production.ini Celery setting is as follows:
use_celery = true
broker.host = localhost
broker.vhost = celeryvhost
broker.port = 5672
broker.user = celeryuser
broker.password = celerypass
celery.imports = rhodecode.lib.celerylib.tasks
celery.result.backend = amqp
celery.result.dburi = amqp://
celery.result.serialier = json
#celery.send.task.error.emails = true
#celery.amqp.task.result.expires = 18000
celeryd.concurrency = 2
#celeryd.log.file = celeryd.log
celeryd.log.level = debug
celeryd.max.tasks.per.child = 1
#tasks will never be sent to the queue, but executed locally instead.
celery.always.eager = true
I ran it with the above configuration, but I can see Celery connecting
to RabbitMQ, but nothing from the Rhodecode. Am I missing something
here?
Also, I did change the setting:
celery.always.eager = false
But this too dint work, meaning, I dont see any messages on the
RabbitMQ page.
Please advice and any guidance would be really great :)
Thanks and regards,
Vairav