[Bug 1207102] Re: Set PXE class lease expiration to 30 seconds

Andres Rodriguez andreserl at ubuntu-pe.org
Fri Sep 6 02:55:38 UTC 2013


Uploaded to -proposed

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1207102

Title:
  Set PXE class lease expiration to 30 seconds

Status in “maas” package in Ubuntu:
  Fix Released
Status in “maas” source package in Precise:
  New

Bug description:
  [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";
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1207102/+subscriptions



More information about the Ubuntu-sponsors mailing list