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 app server reached
will be the one on the same machine, and thus able to see the same
UUID.

Then we can probably get rid of the special cases for maas_url and
whatnot.

If this isn't suitable, then I suggest going with rvba's second
proposal:

> - we fix the two problems I mention above ( a): only accept the
>   first controller to connect if it's connecting from localhost, b)
>   update nodegroup.maas_url for the first controller if the
>   controller does not connect from localhost).

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1103195/+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