[Kea-users] HA based on galera

lex at ezelink.com lex at ezelink.com
Tue Mar 13 10:28:08 UTC 2018


Hi guys,

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



More information about the Kea-users mailing list