Remote rackd at edge

MAAS is really a wonderful software.
But in my case I would like to use it with a central regiond and some rackd at edge.

why?

Managing edge is complicate and MAAS can help to monitor and manage sites

How

Installing some rpi with Ubuntu Core and MAAS snap configured as rackd only

Problems

  • rackd connection begin to use URL provided (public IP), but url discovery for event-loop is using internal IP.
    • fixed with an hack. adding an IP alias on regiond server with public IP
  • rackd ip plane can’t overlap. In the edge case, IP of each site can be the same.
  • when rackd loose connection to regiond, it doesn’t serve DHCP/DNS/PXE with current state (waiting for connection to came back… in our case a 4G connection).