Bug #15332
closed
Kea fails to start if DHCP pool configuration contains default lease time or max lease time
Added by aleksei prokofiev 10 months ago.
Updated 7 days ago.
Plus Target Version:
25.03
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>
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.
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.
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
- 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
- Status changed from New to Feedback
- % Done changed from 0 to 100
- Plus Target Version changed from 25.01 to 25.03
- Target version changed from CE-Next to 2.8.0
- 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
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
- Status changed from Feedback to Resolved
Also available in: Atom
PDF