Hi Yinon,
You must have a dynamic range for auto discovery because that dynamic range gets used as the DHCP address pool for unknown hosts. Since your current configuration has a brought the DHCP server online, maybe just add a small dynamic range to your current configuration. I suspect that you can get away with a dynamic range of only half a dozen addresses at the moment.

The "no free leases" message is caused by the lack of a dynamic address range.

The name "vlan-5005" is just an internal name that MAAS made up for your subnet.

Cheers,
Lloyd


On 10/02/17 6:02 AM, Yinon wrote:
Hey,

Yes I do have a static ipv4, and I don't use ipv6.
However, I did delete the dynamic dhcp range, and create non-dynamic, and now the dhcpd service on the rack controller shows as green.
However, I still don't get dhcp packets answered by MAAS server.

Any ideas?

I get in syslog:
Feb 9 11:23:06 dl-360-143 dhcpd[18398]: DHCPDISCOVER from 3c:a8:2a:fc:18:50 via eno49: network vlan-5005: no free leases Feb 9 11:23:10 dl-360-143 dhcpd[18398]: DHCPDISCOVER from 3c:a8:2a:fc:18:50 via eno49: network vlan-5005: no free leases Feb 9 11:23:18 dl-360-143 dhcpd[18398]: DHCPDISCOVER from 3c:a8:2a:fc:18:50 via eno49: network vlan-5005: no free leases Feb 9 11:23:38 dl-360-143 dhcpd[18398]: DHCPDISCOVER from 3c:a8:2a:fc:18:50 via eno49: network vlan-5005: no free leases Feb 9 11:23:41 dl-360-143 dhcpd[18398]: DHCPDISCOVER from 3c:a8:2a:fc:18:50 via eno49: network vlan-5005: no free leases Feb 9 11:23:45 dl-360-143 dhcpd[18398]: DHCPDISCOVER from 3c:a8:2a:fc:18:50 via eno49: network vlan-5005: no free leases Feb 9 11:23:53 dl-360-143 dhcpd[18398]: DHCPDISCOVER from 3c:a8:2a:fc:18:50 via eno49: network vlan-5005: no free leases

I don't know what vlan-5005 is.

The dhcp is running:
dhcpd 18398 1 0 11:10 ? 00:00:00 dhcpd -user dhcpd -group dhcpd -f -q -4 -pf /run/maas/dhcp/dhcpd.pid -cf /var/lib/maas/dhcpd.conf -lf /var/lib/maas/dhcp/dhcpd.leases eno49


This is /var/lib/maas/dhcpd.conf now: https://docs.google.com/document/d/1qA1GXd8TppQ-l1yQWZ5-NxFZexneqZ7neARG33yKRZU/edit?usp=sharing

Thanks,
Yinon



--
Maas-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/maas-devel

Reply via email to