Not all tasks shown after restarting flower service
After restarting the flower service only newly started tasks seem to be shown on the “active tasks” section even though the API call (within webbrowser) does show all running tasks.
Comments (5)
-
reporter -
reporter Looking further: https://flower.readthedocs.io/en/latest/config.html#persistent
Perhaps it would be an option to use persistant mode for flower? Modifications involve adding “--persistent=True --db=/var/openrem/flower.db” (or /var/dose/celery/flower.db) to the flower commandline in /etc/systemd/system/openrem-flower.service followed by systemctl daemon-reload; systemctl restart openrem-flower.service -
reporter Above “fix” was just confirmed to be working…
-
reporter Works… but with severe limitations: all task info seems to be missing, so back to the drawing board.
-
- changed status to wontfix
No longer using Celery, so marking as wontfix
- Log in to comment
Seems to be a bug in flower? The tasks that were already running when flower was restarted are shown with http://openrem:5555/api/workers but not with http://openrem:5555/api/tasks which is presumably the API that openrem uses. Tasks started afterwards show up in both.