[Bug 1067929] Re: maas-region-celeryd connects to the wrong queue.

Andres Rodriguez andreserl at ubuntu-pe.org
Tue Oct 23 16:08:20 UTC 2012


I investigated this and consulted with bigjools, and rvba and this fix
is not related to the meessage of missing images.

** Description changed:

  Symptoms
  ========
  
  After install, the MAAS interface displays the following warning:
  
  "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."
  
  Even after 5 minutes and a reload, the the error persisted.
  
  DNS configuration is also broken because of this problem.
  
  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. make sure message about missing pxe files disappears after 5 mins.
+ 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-needed
** 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