Project

General

Profile

Actions

Bug #15786

closed

Kea DHCP - Failed to initialize Kea server - Failed to convert string to address

Added by Willy Tenner about 1 month ago. Updated about 1 month ago.

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

ISC DHCP.jpg (308 KB) ISC DHCP.jpg Willy Tenner, 10/17/2024 12:40 PM

Related issues

Is duplicate of Bug #14991: Kea does not allow FQDNs for NTP servers but input validation does not prevent them from being addedResolvedJim Pingle

Actions
Actions

Also available in: Atom PDF