Public bug reported:

[impact]

MAAS is failing to add all enlisted machines to DNS.  There seems to be
a sync issue between dhcp and dns during enlishting.

[test case]
+ Have MaaS 1.3 running
+ Boot machines to be controlled by MaaS and get MaaS to enlist them.
+ Go on MaaS WebUI and change ipmi data and click 'accept and commission'

[regression potential]
This is not a code change but a configuration modification. It is a documented 
option within the dhcp manual so I assume it's been tested through the normal 
means.

[additional]
Expected results:

subnet 192.168.134.0 netmask 255.255.255.0 {
       filename "pxelinux.0";
       option subnet-mask 255.255.255.0;
       option broadcast-address 192.168.134.255;
       option domain-name-servers 192.168.134.2;
       option routers 192.168.134.1;
       range dynamic-bootp 192.168.134.10 192.168.134.20;

        class "PXE" {
          match if substring (option vendor-class-identifier, 0, 3) = "PXE";
          default-lease-time 30;
          max-lease-time 30;
        }

}

May 3 15:18:30 maas2 dhcpd: DHCPDISCOVER from 52:54:00:f7:72:fe via eth0
May 3 15:18:31 maas2 dhcpd: DHCPOFFER on 192.168.134.11 to 52:54:00:f7:72:fe 
via eth0
May 3 15:18:33 maas2 dhcpd: Wrote 0 class decls to leases file.
May 3 15:18:33 maas2 dhcpd: Wrote 0 deleted host decls to leases file.
May 3 15:18:33 maas2 dhcpd: Wrote 0 new dynamic host decls to leases file.
May 3 15:18:33 maas2 dhcpd: Wrote 11 leases to leases file.
May 3 15:18:33 maas2 dhcpd: DHCPREQUEST for 192.168.134.11 (192.168.134.2) from 
52:54:00:f7:72:fe via eth0
May 3 15:18:33 maas2 dhcpd: DHCPACK on 192.168.134.11 to 52:54:00:f7:72:fe via 
eth0

lease 192.168.134.11 {
  starts 5 2013/05/03 19:18:33;
  ends 5 2013/05/03 19:19:03;
  tstp 5 2013/05/03 19:19:03;
  cltt 5 2013/05/03 19:18:33;
  binding state free;
  hardware ethernet 52:54:00:f7:72:fe;
  uid "\001RT\000\367r\376";
}

** Affects: maas (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1207102

Title:
  Set PXE class lease expiration to 30 seconds

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