[Kea-users] kea 2.0.3 dhcp4 HA not working

vom513 vom513 at gmail.com
Thu Apr 20 14:48:14 UTC 2023


> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kea-2-debug.log
Type: application/octet-stream
Size: 206285 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230420/aebd6507/attachment-0001.obj>


More information about the Kea-users mailing list