Public bug reported:

Testing the package in the daily ppa
(0.1+bzr1170+dfsg-0+1215+119~ppa0~quantal1), the cluster controller is
unable to start:

$ sudo tail -f /var/log/upstart/maas-cluster-celery.log
usage: __main__.py start-cluster-controller [-h] [--user USER] [--group GROUP]
                                            URL
__main__.py start-cluster-controller: error: too few arguments

The cluster controller is started by:
exec /usr/sbin/maas-provision start-cluster-controller $MAAS_URL -u maas -g maas
(see /etc/init/maas-cluster-celery.conf)

I think this is because /etc/maas/maas_cluster.conf contains:
# [...]
MAAS_URL=

If I put MAAS_URL=http://localhost/MAAS in that file, the cluster
controller starts ok and fires the cluster worker fine.

** Affects: maas (Ubuntu)
     Importance: Critical
     Assignee: Andres Rodriguez (andreserl)
         Status: Triaged

** Project changed: maas => maas (Ubuntu)

** Description changed:

  Testing the package in the daily ppa
  (0.1+bzr1170+dfsg-0+1215+119~ppa0~quantal1), the cluster controller is
  unable to start:
  
  $ sudo tail -f /var/log/upstart/maas-cluster-celery.log
  usage: __main__.py start-cluster-controller [-h] [--user USER] [--group GROUP]
-                                             URL
+                                             URL
  __main__.py start-cluster-controller: error: too few arguments
+ 
+ The cluster controller is started by:
+ exec /usr/sbin/maas-provision start-cluster-controller $MAAS_URL -u maas -g 
maas
+ (see /etc/init/maas-cluster-celery.conf)
  
  I think this is because /etc/maas/maas_cluster.conf contains:
  # [...]
  MAAS_URL=
  
  If I put MAAS_URL=http://localhost/MAAS in that file, the cluster
  controller starts ok and fires the cluster worker fine.

-- 
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/1063857

Title:
  Cluster controller fails to start because MAAS_URL is not set.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1063857/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to