Set PXE class lease expiration to 30 seconds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas (Ubuntu) |
Fix Released
|
High
|
Andres Rodriguez | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned |
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-
}
}
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\
}
description: | updated |
So the debdiff was uploaded and referenced bug 1069570 after I marked that one invalid. So I guess we can dis-regard this one?