Actions
Bug #15786
closedKea DHCP - Failed to initialize Kea server - Failed to convert string to address
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
DHCP (IPv4)
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.7.2
Affected Architecture:
i386
Description
System|Advanced|Networking:
When you switch from ISC DHCP to Kea DHCP, the configuration is migrated. Unfortunately, the Kea DHCP server is not started, an error message can be found under Status|System Logs|DHCP:
Oct 16 15:16:44 kea-dhcp4 16667 ERROR [kea-dhcp4.dhcp4.0x4909f612000] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': option data does not match option definition (space: dhcp4, code: 42): Failed to convert string to address 'ntp_net.sm.art': Invalid argument (/usr/local/etc/kea/kea-dhcp4.conf:88:33)
Under Services|DHCP Server|NET no IP addresses but hostnames are entered as NTP servers. The Kea DHCP server obviously cannot resolve hostnames and requires IP addresses at this point.
Improvement : The Kea DHCP server should be able to resolve hostnames.
Workaround : Use IP addresses until then.
Note : Simply switching back to the ISC DHCP server is problematic if DHCP options were used in the ISC DHCP. These are deleted after switching back. Workaround: Before switching to Kea DHCP, back up the complete pfsense configuration and restore it if necessary.
Files
Related issues
Updated by Jim Pingle 13 days ago
- Is duplicate of Bug #14991: Kea does not allow FQDNs for NTP servers but input validation does not prevent them from being added added
Actions