[Bug 1067929] Re: maas-region-celeryd connects to the wrong queue.
Andres Rodriguez
andreserl at ubuntu-pe.org
Thu Oct 25 07:43:49 UTC 2012
Marking this verification done as upstream (the bug reporter) thought
that fixing this would also fix the UI message being displayed, however,
that's related to bug #1068843. I've updated the bug description to
accordingly reflect the real issue. Doing so we can simply mark this bug
as verification-done
** Description changed:
Symptoms
========
- After install, the MAAS interface displays the following warning:
+ DNS configuration is broken because of this problem.
- "The region controller does not know whether any boot images have been
- imported yet. If this message does not disappear in 5 minutes, there may
- be a communication problem between the region worker process and the
- region controller. Check the region worker's logs for signs that it was
- unable to report to the MAAS API."
+ In /var/log/maas/celery-region.log search for
- Even after 5 minutes and a reload, the the error persisted.
-
- DNS configuration is also broken because of this problem.
+ [2012-10-23 18:02:19,037: INFO/Beat] Scheduler: Sending due task provisioningserver.tasks.report_boot_images
+ [2012-10-23 18:02:19,052: INFO/MainProcess] Got task from broker: provisioningserver.tasks.report_boot_images
+ [2012-10-23 18:02:19,087: INFO/MainProcess] Task provisioningserver.tasks.report_boot_images
Root Cause
==========
maas-region-celeryd connects to 2 queues: ' celery' and 'master'. The
problem is obviously the space in front of 'celery'
start_celery() should use something like that instead:
command = [
'celeryd',
'--logfile=%s' % args.logfile,
'--schedule=%s' % args.schedule,
'--loglevel=INFO',
'--beat',
'--queues=celery,master',
]
== TEST ==
1. Install maas
2. run maas-import-pxe-files.
3. in /var/log/maas/celery-region.log search:
[2012-10-23 18:02:19,037: INFO/Beat] Scheduler: Sending due task provisioningserver.tasks.report_boot_images
[2012-10-23 18:02:19,052: INFO/MainProcess] Got task from broker: provisioningserver.tasks.report_boot_images[045a83ac-64a2-448b-ada3-f82131b56561]
[2012-10-23 18:02:19,087: INFO/MainProcess] Task provisioningserver.tasks.report_boot_images[045a83ac-64a2-448b-ada3-f82131b56561] succeeded in 0.00621294975281s: None
** Tags removed: verification-failed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1067929
Title:
maas-region-celeryd connects to the wrong queue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1067929/+subscriptions
More information about the Ubuntu-server-bugs
mailing list