← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~rvb/maas/packaging.user-master-queue into lp:~maas-maintainers/maas/packaging

 

Raphaël Badin has proposed merging lp:~rvb/maas/packaging.user-master-queue into lp:~maas-maintainers/maas/packaging.

Commit message:
Make the celery worker use the 'master' queue in addition to the default 'celery' queue.

This is a temporary workaround to cope with the fact that task routing is already in place and that the cluster tasks are routed to nodegroup.uuid already.  Fortunately, right now, nodegroup.uuid = 'master' for the only existing nodegroup.

Requested reviews:
  MAAS Maintainers (maas-maintainers)

For more details, see:
https://code.launchpad.net/~rvb/maas/packaging.user-master-queue/+merge/126500

Make the celery worker use the 'master' queue in addition to the default 'celery' queue.

This is a temporary workaround to cope with the fact that task routing is already in place and that the cluster tasks are routed to nodegroup.uuid already.  Fortunately, right now, nodegroup.uuid = 'master' for the only existing nodegroup.
-- 
https://code.launchpad.net/~rvb/maas/packaging.user-master-queue/+merge/126500
Your team MAAS Maintainers is requested to review the proposed merge of lp:~rvb/maas/packaging.user-master-queue into lp:~maas-maintainers/maas/packaging.
=== modified file 'debian/maas.maas-celery.upstart'
--- debian/maas.maas-celery.upstart	2012-08-29 03:33:47 +0000
+++ debian/maas.maas-celery.upstart	2012-09-26 16:40:30 +0000
@@ -18,4 +18,4 @@
 # NOTE: Config is picked up from PYTHONPATH.
 #       In this case is picked up from /usr/share/maas/celeryconfig.py,
 #       which is a symlink to /etc/maas/celeryconfig.py
-exec /usr/bin/celeryd --logfile=/var/log/maas/celery.log --loglevel=INFO --beat --schedule=/var/lib/maas/celerybeat-schedule
+exec /usr/bin/celeryd --logfile=/var/log/maas/celery.log --loglevel=INFO --beat --schedule=/var/lib/maas/celerybeat-schedule -Q celery,master