On Tue, 13 Mar 2018, l...@ezelink.com wrote:
I'm running 2 kea dhcp servers and connect them to galera-mysql cluster for
HA.
Everything is ok, but sometimes i have this message in logs:
2018-03-13 14:14:45.036 ERROR [kea-dhcp4.alloc-engine/11864]
ALLOC_ENGINE_V4_ALLOC_ERROR [hwtype=1 b8:53:ac:xx:xx:xx],
cid=[01:b8:53:ac:xx:xx:xx], tid=0xa56d03a4: error during attempt to allocate
an IPv4 address: unable to execute for <SELECT address, hwaddr, client_id,
valid_lifetime, expire, subnet_id, fqdn_fwd, fqdn_rev, hostname, state FROM
lease4 WHERE client_id = ? AND subnet_id = ?>, reason: Deadlock found when
trying to get lock; try restarting transaction (error code 1213)
the network is relatively small - not more than 50-100 requests per second
How can I get rid of these messages? Cause after getting this error, server
sends NACK to client
You could always work around it with a hook that throws NAKs on the floor.
Owen
_______________________________________________
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users