Hi Brendan,
Kea will not be able to grant leases if it cannot contact its lease
database.
Your configuration file and logging would be helpful.
Also, setting the "authoritative" to true will force Kea to always
reject INIT-REBOOT requests from unknown clients
/Peter
On 16/04/2024 18.16, Brendan Kearney wrote:
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
--
Peter Davies
Support Engineer
Internet Systems Corporation
--
ISC funds the development of this software with paid support subscriptions.
Contact us at https://www.isc.org/contact/ for more information.
To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users