[Kea-users] kea 2.0.3 dhcp4 HA not working

Peter Davies peterd at isc.org
Thu Apr 20 16:28:48 UTC 2023


Hi -

    You have appended the kea-dhcp4 log from kea-2; it would be 
interesting to see the kea-dhcp4 and kea-ctrl-agent logs from kea-1 for 
the same time period.

Do you think you could supply these?


The last double quote in "memfile” is not a legal char.

Kind Regards Peter

On 20/04/2023 16.48, vom513 wrote:
>> On Apr 20, 2023, at 3:14 AM, Peter Davies <peterd at isc.org> wrote:
>>
>> Hi -
>>     It will be difficult to see what is happening at the log level you have configured.
>> I suggest you change the log level to DEBUG and the severity level to 99.
>>
>> Sending this logging to a file would also be helpful, (remove the logging "pattern"
>> definitionbto enable the default logging format)
> I pared down logging to top level only - DEBUG @ 99.  Also logged to a file in /tmp (file attached).
>
>> Issue https://gitlab.isc.org/isc-projects/kea/-/issues/1364 ; this issue was addressed
>> in Kea 1.9.0. So I don't think it applies here.
>>
>> NB there is an illegal character in the lease-database definition:
>>          "type": "memfile”,
>>
> Not sure what this means, could be a formatting issue with my original email ? “-t” seems to validate the config fine:
>
> root at kea-1:/home/vom# kea-dhcp4 -t /etc/kea/kea-dhcp4.conf
> 2023-04-20 10:20:19.008 INFO  [kea-dhcp4.hosts/5105.139906886188672] HOSTS_BACKENDS_REGISTERED the following host backend types are available: mysql postgresql  2023-04-20 10:20:19.008 INFO  [kea-dhcp4.dhcpsrv/5105.139906886188672] DHCPSRV_CFGMGR_ADD_IFACE listening on interface ens224
> 2023-04-20 10:20:19.008 INFO  [kea-dhcp4.dhcpsrv/5105.139906886188672] DHCPSRV_CFGMGR_SOCKET_TYPE_DEFAULT "dhcp-socket-type" not specified , using default socket type raw
> 2023-04-20 10:20:19.009 INFO  [kea-dhcp4.hooks/5105.139906886188672] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so successfully closed
> 2023-04-20 10:20:19.009 INFO  [kea-dhcp4.hooks/5105.139906886188672] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so successfully closed
> 2023-04-20 10:20:19.011 INFO  [kea-dhcp4.hooks/5105.139906886188672] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_ha.so successfully closed
> 2023-04-20 10:20:19.011 INFO  [kea-dhcp4.dhcpsrv/5105.139906886188672] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: 10.0.123.0/24 with params: t1=43200, t2=75600, valid-lifetime=86400
>
>
-- 
Peter Davies
Support Engineer
Internet Systems Corporation



More information about the Kea-users mailing list