<div><div dir="auto">I am running a similar configuration with other weirdness. I was told that it is currently an unsupported configuration until version 1.4</div><br><div class="gmail_quote"><div>On Tue, Mar 13, 2018 at 7:11 AM <<a href="mailto:lex@ezelink.com">lex@ezelink.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks, Dominik,<br>
<br>
I don't think the dedicated write node will help, cause mysql reports<br>
deadlock.<br>
that's probably sequential locks which are not properly adjusted.<br>
<br>
On 2018-03-13 14:37, Dominik Epple wrote:<br>
> Hi,<br>
><br>
> it might help if you pick a dedicated galera write node, i.e. both of<br>
> your kea servers write to the same galera node at each point in time.<br>
> You can still configure that in a HA fashion by some active-passive<br>
> loadbalancer or a failover IP or something.<br>
><br>
> The other option would be that the kea code gets adjusted for running<br>
> "galera-aware" but I am no expert on what exactly needs to happen<br>
> there. But if it can't be fixed on application level, it probably can<br>
> be fixed on system level by picking a dedicated write node.<br>
><br>
> Dominik<br>
><br>
> 2018-03-13 11:28 GMT+01:00 <<a href="mailto:lex@ezelink.com" target="_blank">lex@ezelink.com</a>>:<br>
><br>
>> Hi guys,<br>
>><br>
>> I'm running 2 kea dhcp servers and connect them to galera-mysql<br>
>> cluster for HA.<br>
>> Everything is ok, but sometimes i have this message in logs:<br>
>><br>
>> 2018-03-13 14:14:45.036 ERROR [kea-dhcp4.alloc-engine/11864]<br>
>> ALLOC_ENGINE_V4_ALLOC_ERROR [hwtype=1 b8:53:ac:xx:xx:xx],<br>
>> cid=[01:b8:53:ac:xx:xx:xx], tid=0xa56d03a4: error during attempt to<br>
>> allocate an IPv4 address: unable to execute for <SELECT address,<br>
>> hwaddr, client_id, valid_lifetime, expire, subnet_id, fqdn_fwd,<br>
>> fqdn_rev, hostname, state FROM lease4 WHERE client_id = ? AND<br>
>> subnet_id = ?>, reason: Deadlock found when trying to get lock; try<br>
>> restarting transaction (error code 1213)<br>
>><br>
>> the network is relatively small - not more than 50-100 requests per<br>
>> second<br>
>><br>
>> How can I get rid of these messages? Cause after getting this error,<br>
>> server sends NACK to client<br>
>> _______________________________________________<br>
>> Kea-users mailing list<br>
>> <a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
>> <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a> [1]<br>
><br>
><br>
><br>
> Links:<br>
> ------<br>
> [1] <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
_______________________________________________<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Munroe Sollog<div>Senior Network Engineer</div><div><a href="mailto:munroe@lehigh.edu" target="_blank">munroe@lehigh.edu</a></div></div></div>