<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Hello There,<br class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">I am with my colleages in the process to migrate from isc dhcp to kea 1.5.0.</div><div class=""><br class=""></div><div class="">Our setup is quite simple :</div><div class=""><br class=""></div><div class="">- 2 Kea 1.5.0 servers (on freebsd, with freebsd ports)</div><div class="">- 1 galera cluster for all this 2 servers.</div><div class=""><br class=""></div><div class="">For some « interessing » reason (read : the logs of whole platform says nothing), the first kea server decided to give up because it cannot connect to the database for less than 2 seconds….</div><div class=""><br class=""></div><div class="">Logs :</div><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">2019-08-24 20:53:24.460 ERROR [kea-dhcp4.dhcp4/14823] DHCP4_DB_RECONNECT_ATTEMPT_FAILED database reconnect failed: Can't connect to MySQL server on '</span><a href="http://dbvip.prod.hotcity.lu/" style="font-family: monospace;" class="">dbvip</a><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">' (60)</span><br style="caret-color: rgb(0, 0, 0); font-family: monospace;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">2019-08-24 20:53:24.460 INFO  [kea-dhcp4.dhcp4/14823] DHCP4_DB_RECONNECT_ATTEMPT_SCHEDULE scheduling attempt 2 of 10 in 2000 milliseconds</span><br style="caret-color: rgb(0, 0, 0); font-family: monospace;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">2019-08-24 20:53:24.460 ERROR [kea-dhcp4.alloc-engine/14823] ALLOC_ENGINE_V4_RECLAIMED_LEASES_DELETE_FAILED deletion of expired-reclaimed leases failed: fatal database errror or connectivity lost</span><br style="caret-color: rgb(0, 0, 0); font-family: monospace;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">2019-08-24 20:53:26.560 INFO  [kea-dhcp4.dhcpsrv/14823] DHCPSRV_MYSQL_DB opening MySQL lease database: host=</span><a href="http://dbvip.prod.hotcity.lu/" style="font-family: monospace;" class="">dbvip</a><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class=""> max-reconnect-tries=10 name=*** password=***** port=3306 reconnect-wait-time=2000 type=mysql universe=4 user=***</span><br style="caret-color: rgb(0, 0, 0); font-family: monospace;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">2019-08-24 20:53:31.630 ERROR [kea-dhcp4.dhcp4/14823] DHCP4_DB_RECONNECT_ATTEMPT_FAILED database reconnect failed: Can't connect to MySQL server on '</span><a href="http://dbvip.prod.hotcity.lu/" style="font-family: monospace;" class="">dbvip</a><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">' (60)</span><br style="caret-color: rgb(0, 0, 0); font-family: monospace;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">2019-08-24 20:53:31.630 INFO  [kea-dhcp4.dhcp4/14823] DHCP4_DB_RECONNECT_ATTEMPT_SCHEDULE scheduling attempt 10 of 10 in 2000 milliseconds</span><br style="caret-color: rgb(0, 0, 0); font-family: monospace;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">2019-08-24 20:53:33.730 INFO  [kea-dhcp4.dhcpsrv/14823] DHCPSRV_MYSQL_DB opening MySQL lease database: host=</span><a href="http://dbvip.prod.hotcity.lu/" style="font-family: monospace;" class="">dbvip</a><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class=""> max-reconnect-tries=10 name=*** password=***** port=3306 reconnect-wait-time=2000 type=mysql universe=4 user=***</span><br style="caret-color: rgb(0, 0, 0); font-family: monospace;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">2019-08-24 20:53:38.760 ERROR [kea-dhcp4.dhcp4/14823] DHCP4_DB_RECONNECT_ATTEMPT_FAILED database reconnect failed: Can't connect to MySQL server on </span><font face="monospace" size="1" class=""><span style="caret-color: rgb(0, 0, 0);" class="">‘</span></font><a href="http://dbvip.prod.hotcity.lu/" style="font-family: monospace;" class="">dbvip</a>'<span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class=""> (60)</span><br style="caret-color: rgb(0, 0, 0); font-family: monospace;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">2019-08-24 20:53:38.760 ERROR [kea-dhcp4.dhcp4/14823] DHCP4_DB_RECONNECT_RETRIES_EXHAUSTED maximum number of database reconnect attempts: 10, has been exhausted without success, server is shutting down!</span><br style="caret-color: rgb(0, 0, 0); font-family: monospace;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: monospace; font-size: x-small;" class="">2019-08-24 20:53:38.761 INFO  [kea-dhcp4.dhcp4/14823] DHCP4_SHUTDOWN server shutdown</span><br class=""></div><div class=""><br class=""></div><div class="">Also the second servers stay mostly idle and didn’t had the idea to reply to our DHCP requests. </div><div class=""><br class=""></div><div class="">We raized the « timeout » to 30 seconds, but this doesn’t make up relax about this random issue on our side.</div><div class=""><br class=""></div><div class="">So basicaly, the questions are :</div><div class=""><br class=""></div><div class="">- does several servers + one central mysql database IS supported ?</div><div class="">- do we need to have one db per kea servers and use HA to make this redondant ?</div><div class=""><br class=""></div><div class="">Kind regards,</div><div class=""><br class=""></div></div></div></div><br class="">
<br class=""></body></html>