Reputation: 43
queue_job
In a Docker Swarm environment with three nodes, one Odoo instance, Pgpool, and Traefik, asynchronous tasks remain stuck in the pending
state in the queue. Even after a requeue
, they are not processed. The only way to restart task processing is to restart the Odoo service, which sometimes results in task duplication.
This issue does not occur in a Docker Compose environment with a single host, where tasks are processed normally after configuring the workers.
Affected versions: Odoo 17, queue_job
v17
Steps to reproduce the issue:
queue_job
in a Docker Swarm environment with three nodes, a Pgpool instance, and a Traefik reverse proxy.queue_job
with defined channels.pending
state and is never processed, even after a requeue
.Pending (pending
) tasks should be processed by the workers without requiring an Odoo restart and without the risk of duplication.
workers=6
ODOO_QUEUE_JOB_CHANNELS: root:2,enrollment:2,notification:2
workers=10
ODOO_QUEUE_JOB_CHANNELS: root:4,enrollment:4,notification:2
log-handler=queue_job:DEBUG
did not provide any conclusive insights.Any help or debugging suggestions would be greatly appreciated! 🚀
Upvotes: 0
Views: 22