Lost DNS entries for machines managed by MAAS

Mike Pontillo mike.pontillo at canonical.com
Wed Mar 15 20:44:41 UTC 2017


On Wed, Mar 15, 2017 at 1:34 PM, Jonas Wagner <jonas.wagner at epfl.ch> wrote:

> Recently, several DNS entries for machines managed by MAAS have vanished.
> The MAAS DNS server used to resolve the names of these machines to their
> IP. Now this is no longer the case, and I get an NXDOMAIN response instead.
>

   All right. Before we can dig deeply into this, first could you tell us
which version of MAAS are you using?


> I believe that this is linked to a restart of the MAAS controllers due to
> a recent power outage.
>

   Yes; if the nodes are using DHCP to correctly obtain their IP addresses
(but MAAS isn't aware of the IP address), that might meant the power outage
caused the DHCP lease database to go out of sync with MAAS's understanding
of the lease state. There was a race condition around this that was fixed
by design in MAAS 2.x by instructing the DHCP server to inform MAAS
directly about each lease, rather than having MAAS parse the DHCP lease
database.


> In the MAAS web interface, the interfaces of these nodes have the correct
> MAC address set. The IP is "(Unconfigured)". The nodes obtain their IP via
> DHCP from the MAAS controller; they do get the same IP as they always had.
>

   Are the nodes' interfaces configured for DHCP, automatic, or static
addresses? Are they all in "Deployed" state?


> Is there any way to restore these DNS entries?
>

   I'm sure there is a way, the only question is is the difficulty. ;-)

Regards,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20170315/3e8f1d58/attachment.html>


More information about the Maas-devel mailing list