etc/celeryconfig.py is used by both the region controller code and the worker code.

Bug #1056250 reported by Raphaël Badin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Raphaël Badin

Bug Description

The file etc/celeryconfig.py is currently used by the region controller and the cluster worker.

The region controller uses it to get BROKER_URL and the cluster worker uses everything else in that file (the MAAS-specific parameters and the celery config options).

That file should be split into 3 files:
- one for the celery config of the region controller, containing only the BROKER_URL setting (that is overridden by a the custom value put in maas_local_celeryconfig by the post-inst scipt of the package)
- one for the cluster workers
- one for the master worker (compared to the "normal" cluster workers, only the CELERYBEAT_SCHEDULE setting should be different)

Related branches

Changed in maas:
assignee: nobody → Raphaël Badin (rvb)
status: Triaged → In Progress
Raphaël Badin (rvb)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.