Bug #15332
closedKea fails to start if DHCP pool configuration contains default lease time or max lease time
100%
Description
If the config has additioan DHCP pool with extra parametrs configured, such default-lease-time or max-lease-time, then KEA won't start with out any logs. To fix that need delete from config those extra option. Or just resave affected pool without any changes, it will lead rewrite config without extra options.
For example
<pool>
<range>
<from>192.168.6.2</from>
<to>192.168.6.48</to>
</range>
<descr><![CDATA[NTP Server]]></descr>
<defaultleasetime>600</defaultleasetime>
<maxleasetime>3600</maxleasetime>
After resave it will deleted
<pool>
<range>
<from>192.168.6.2</from>
<to>192.168.6.48</to>
</range>
<descr><![CDATA[NTP Server]]></descr>
<defaultleasetime></defaultleasetime>
<maxleasetime></maxleasetime>
Updated by Lev Prokofev 10 months ago
I can confirm this behavior, tested on 23.09.1. It happens because that can't set default-lease-time or max-lease-time for the additional pool when using the KEA backed, but can for the ISC.
Updated by aleksei prokofiev about 1 month ago
Tested on
24.11-RELEASE (amd64)
built on Wed Nov 27 22:22:00 +04 2024
FreeBSD 15.0-CURRENT
I am unable reproduce this issue, looks like it fixed.
Updated by Vöggur Guðmundsson about 1 month ago
I have the same issue, noting is being logged.
Started after update to 24.11
I have "Default Lease Time" and "NTP" specified inn all pools
24.11-RELEASE (amd64)
built on Fri Nov 22 4:34:00 UTC 2024
FreeBSD 15.0-CURRENT
Updated by Christian McDonald about 1 month ago
- Project changed from pfSense Plus to pfSense
- Category changed from DHCP Server (IPv4) to DHCP (IPv4)
- Assignee set to Christian McDonald
- Target version set to CE-Next
- Affected Plus Version deleted (
23.09.1) - Plus Target Version set to 25.01
Updated by Christian McDonald about 1 month ago
- Status changed from New to Feedback
default and max lease time are not applicable in a Kea pool context, it only applies at subnet level.
Fixed in https://gitlab.netgate.com/pfSense/factory/-/commit/3bfd3a0efe5abf9ee47e6fdd1625fe5b8f9e21c3
Updated by Christian McDonald about 1 month ago
- % Done changed from 0 to 100
Applied in changeset 3bfd3a0efe5abf9ee47e6fdd1625fe5b8f9e21c3.
Updated by Jim Pingle 28 days ago
- Plus Target Version changed from 25.01 to 25.03
Updated by Jim Pingle 24 days ago
- Subject changed from Kea doesn't start without any logs when upload config with additional DHCP pool if it has additional parameters configured to Kea fails to start if DHCP pool configuration contains default lease time or max lease time
Updated by Georgiy Tyutyunnik 5 days ago
reproduced the behavior on switch between ISC with pool with default-lease-time or max-lease-time to KEA
can't reproduce on the latest dev, fixed
tested on:
25.03-DEVELOPMENT (amd64)
built on Tue Dec 31 13:06:00 CET 2024
FreeBSD 15.0-CURRENT
Updated by Georgiy Tyutyunnik 5 days ago
- Status changed from Feedback to Resolved