[Kea-users] migrating from DHCPd to Kea

Brendan Kearney bpk678 at gmail.com
Tue Apr 16 16:16:59 UTC 2024


list members,

i am trying to migrate to Kea and have 2 HA+MT instances stood up.  when 
i start relaying dhcp requests to Kea, i get bunch of failed attempts to 
obtain leases on the clients, which i believe is due to the clients not 
having active leases from Kea.  i am wondering if there is a means to 
have the clients get new assigned leases without having to jump through 
hoops like reboots.

as an aside, i also find the below error in my logs, which seems to 
indicate a malformed database query.

ERROR [kea-dhcp4.database.139901550986944] DATABASE_MYSQL_FATAL_ERROR 
Unrecoverable MySQL error occurred: unable to execute for <SELECT 
address, hwaddr, client_id, valid_lifetime, expire, subnet_id, fqdn_fwd, 
fqdn_rev, hostname, state, user_context, relay_id, remote_id, pool_id 
FROM lease4 WHERE client_id = ?>, reason: Lost connection to server 
during query (error code: 2013).

the select, if pasted into any mariadb client, fails since the "?" is 
not proper syntax.  i dont know if the behavior i am seeing with the 
clients not getting new leases and the database error above are related 
or if there are a couple of issues to be worked through.

what info should i provide, to understand where i have issues to 
address?  i am running Kea 2.4.0 on fedora 38.

thanks in advance,

brendan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20240416/574a8f96/attachment.htm>


More information about the Kea-users mailing list