[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-30 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/raring-proposed/maas -- 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/1103195 Title: MAAS WebUI crashes when installing maas-region-controller only To

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-30 Thread Launchpad Bug Tracker
This bug was fixed in the package maas - 1.2+bzr1351+dfsg-0ubuntu1 --- maas (1.2+bzr1351+dfsg-0ubuntu1) raring; urgency=low * New upstream bugfix release. [ Raphaël Badin ] * debian/control: maas-region-controller depends on bind9utils. (LP: #1103195) [ Andres Rodriguez

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-30 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/raring-proposed/maas -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103195 Title: MAAS WebUI crashes when installing maas-region-controller only To manage notifications

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-30 Thread Launchpad Bug Tracker
This bug was fixed in the package maas - 1.2+bzr1351+dfsg-0ubuntu1 --- maas (1.2+bzr1351+dfsg-0ubuntu1) raring; urgency=low * New upstream bugfix release. [ Raphaël Badin ] * debian/control: maas-region-controller depends on bind9utils. (LP: #1103195) [ Andres Rodriguez

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-29 Thread Julian Edwards
Marking the maas task invalid as it's fixed in packaging. ** Changed in: maas (Ubuntu) Status: Confirmed = In Progress ** Changed in: maas Status: In Progress = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-29 Thread Julian Edwards
Marking the maas task invalid as it's fixed in packaging. ** Changed in: maas (Ubuntu) Status: Confirmed = In Progress ** Changed in: maas Status: In Progress = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-25 Thread Raphaël Badin
To ensure that we accept as master only the cluster controller on the local machine, can the region compare the UUID it's given against the UUID it can see on the filesystem? A simpler way (which we already use to know if we need to update nodegroup.maas_url or not when a cluster connects) is

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-25 Thread Raphaël Badin
To ensure that we accept as master only the cluster controller on the local machine, can the region compare the UUID it's given against the UUID it can see on the filesystem? A simpler way (which we already use to know if we need to update nodegroup.maas_url or not when a cluster connects) is

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
** Changed in: maas Assignee: (unassigned) = Raphaël Badin (rvb) ** Changed in: maas Status: Triaged = In Progress -- 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/1103195

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
Actually, as suggested by Andres, adding bind9utils as a dependency to the region controller package is a much simpler way to fix this. Since bind9utils is a tiny collection of utilities, it's really harmless. -- You received this bug notification because you are a member of Ubuntu Server Team,

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
Doing what I suggest above would indeed fix the immediate problem but this leads to bigger problems: The code assumes in two places (see bellow) that the first cluster to connect is the cluster controller installed on the same machine as the region controller. This is based on the assumption

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Jeroen T. Vermeulen
(FWIW somebody landed a fix recently to suppress the initialization of NodeGroup.maas_url if the given URL had localhost as its hostname. It seems like a better way to deal with the maas_url part of the problem.) -- You received this bug notification because you are a member of Ubuntu Server

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Jeroen T. Vermeulen
(Correction: I meant to say that AIUI, that fix suppresses _any_ initialization of maas_url, regardless of whether the calling code thinks it's dealing with the master cluster) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
The fix you're talking about did not touch the code used when a cluster connects for the first time. -- 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/1103195 Title: MAAS WebUI crashes

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/packaging-1103195 ** Branch linked: lp:~rvb/maas/packaging.quantal-1103195 ** Branch linked: lp:~rvb/maas/packaging.precise.sru-1103195 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu.

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
I guess this is in fact a bug distinct from this one, I've filed bug 1104215. -- 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/1103195 Title: MAAS WebUI crashes when installing

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Gavin Panella
To ensure that we accept as master only the cluster controller on the local machine, can the region compare the UUID it's given against the UUID it can see on the filesystem? Even if the region is in an HA configuration, the cluster controller will connect to localhost and therefore the region

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
** Changed in: maas Assignee: (unassigned) = Raphaël Badin (rvb) ** Changed in: maas Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103195 Title: MAAS

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
Actually, as suggested by Andres, adding bind9utils as a dependency to the region controller package is a much simpler way to fix this. Since bind9utils is a tiny collection of utilities, it's really harmless. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
Doing what I suggest above would indeed fix the immediate problem but this leads to bigger problems: The code assumes in two places (see bellow) that the first cluster to connect is the cluster controller installed on the same machine as the region controller. This is based on the assumption

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Jeroen T. Vermeulen
(FWIW somebody landed a fix recently to suppress the initialization of NodeGroup.maas_url if the given URL had localhost as its hostname. It seems like a better way to deal with the maas_url part of the problem.) -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Jeroen T. Vermeulen
(Correction: I meant to say that AIUI, that fix suppresses _any_ initialization of maas_url, regardless of whether the calling code thinks it's dealing with the master cluster) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
The fix you're talking about did not touch the code used when a cluster connects for the first time. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103195 Title: MAAS WebUI crashes when installing

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/packaging-1103195 ** Branch linked: lp:~rvb/maas/packaging.quantal-1103195 ** Branch linked: lp:~rvb/maas/packaging.precise.sru-1103195 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Raphaël Badin
I guess this is in fact a bug distinct from this one, I've filed bug 1104215. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103195 Title: MAAS WebUI crashes when installing maas-region-controller

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-24 Thread Gavin Panella
To ensure that we accept as master only the cluster controller on the local machine, can the region compare the UUID it's given against the UUID it can see on the filesystem? Even if the region is in an HA configuration, the cluster controller will connect to localhost and therefore the region

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-23 Thread Raphaël Badin
We've generating the omapi_key when the nodegroup objects are generated. For the master nodegroup (corresponding to the main cluster controller), this happens when the application starts up. If the maas-dns package is not installed, the tool to generate the key might not be installed (it's a

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-23 Thread Julian Edwards
** Changed in: maas Status: New = Triaged ** Changed in: maas Importance: Undecided = Critical -- 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/1103195 Title: MAAS WebUI

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-23 Thread Raphaël Badin
We've generating the omapi_key when the nodegroup objects are generated. For the master nodegroup (corresponding to the main cluster controller), this happens when the application starts up. If the maas-dns package is not installed, the tool to generate the key might not be installed (it's a

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-23 Thread Julian Edwards
** Changed in: maas Status: New = Triaged ** Changed in: maas Importance: Undecided = Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103195 Title: MAAS WebUI crashes when

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-22 Thread Andres Rodriguez
** Description changed: MAAS WebUI crashes when isntalling maas-region-controller only: [Tue Jan 22 16:49:58 2013] [error] [client 192.168.123.3] mod_wsgi (pid=7256): Target WSGI script '/usr/share/maas/wsgi.py' cannot be loaded as Python module. [Tue Jan 22 16:49:58 2013] [error]

[Bug 1103195] Re: MAAS WebUI crashes when installing maas-region-controller only

2013-01-22 Thread Andres Rodriguez
** Description changed: MAAS WebUI crashes when isntalling maas-region-controller only: [Tue Jan 22 16:49:58 2013] [error] [client 192.168.123.3] mod_wsgi (pid=7256): Target WSGI script '/usr/share/maas/wsgi.py' cannot be loaded as Python module. [Tue Jan 22 16:49:58 2013] [error]