Lost DNS entries for machines managed by MAAS

Jonas Wagner jonas.wagner at epfl.ch
Thu Mar 16 08:47:51 UTC 2017


Hello,

thanks a lot for the replies so far!

My MAAS version: 2.1.3+bzr5573-0ubuntu1 (16.04.1)

I believe, however, that the nodes in question where deployed using an
earlier version of MAAS. We upgraded MAAS at some point. The amount of
information that we have on the older nodes is different from the
information available for newer nodes. I'm attaching two JSON files with
node data; solo7 is a machine deployed recently, whereas solo8 was deployed
before an upgrade of MAAS.

The nodes are in "deployed" state. They both use DHCP. For newer nodes
(those that still have DNS entries) the MAAS web interface shows an IP
address labeled "(Auto assign)". For the other nodes, all interfaces are
shown as "(Unconfigured)".

Regarding DHCP: The machines are indeed requesting DHCP leases. For
example, I can see the following in /var/lib/maas/dhcp/dhcpd.leases:

lease 10.0.0.89 {
  starts 4 2017/03/16 08:22:45;
  ends 4 2017/03/16 08:32:45;
  cltt 4 2017/03/16 08:22:45;
  binding state active;
  next binding state free;
  rewind binding state free;
  hardware ethernet 00:25:90:e9:a4:6e;
  set clht = "solo8";
  set cllt = "600";
  set clip = "10.0.0.89";
  set clhw = "0:25:90:e9:a4:6e";
  client-hostname "solo8";
  on expiry {
    set clhw =
       binary-to-ascii (16, 8, ":",
                        substring (hardware, 1, 6)) ;
    set clip =
       binary-to-ascii (10, 8, ".", leased-address) ;
    execute ("/usr/sbin/maas-dhcp-helper", "notify", "--action", "expiry",
        "--mac", clhw, "--ip-family", "ipv4", "--ip", clip);
  }
  on release {
    set clhw =
       binary-to-ascii (16, 8, ":",
                        substring (hardware, 1, 6)) ;
    set clip =
       binary-to-ascii (10, 8, ".", leased-address) ;
    execute ("/usr/sbin/maas-dhcp-helper", "notify", "--action", "release",
        "--mac", clhw, "--ip-family", "ipv4", "--ip", clip);
  }
}

Let me know if more data is needed to troubleshoot this. Thanks again for
the help so far!

Best,
Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20170316/54955f44/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solo8.json
Type: application/json
Size: 4785 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20170316/54955f44/attachment-0002.json>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solo7.json
Type: application/json
Size: 17814 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20170316/54955f44/attachment-0003.json>


More information about the Maas-devel mailing list