[Kea-users] Kea 1.4.0-P1-3 kea-ctrl-agent crashing on Ubuntu 18.10

Marcin Siodelski marcin at isc.org
Sun Jan 20 23:44:53 UTC 2019


Hello Russell,

It seems that you're trying to attach the HA hooks library to the Kea
Ctrl Agent process, while it must be attached to either Kea DHCPv4 or
DHCPv6 process. See:
https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#high-availability-library
for the details.

Regarding the example configurations. Did you see the examples in the
doc/examples/kea4/ha-load-balancing-primary.json and the
doc/examples/kea6/ha-hot-standby.json ?

Kind Regards,

Marcin Siodelski
Senior Software Engineer
ISC

On 20/01/2019 13:21, russell aspinwall wrote:
> Hi,
> 
> After fixing my configuration I have found that the kea-ctrl-agent is
> now crashing regularly on Ubuntu 18.10
> 
>> 2019-01-20 11:58:32.282 INFO  [kea-ctrl-agent.dctl/26624]
>> DCTL_STARTING Control-agent starting, pid: 26624, version: 1.4.0-P1
>> 2019-01-20 11:58:32.287 INFO  [kea-ctrl-agent.ha-hooks/26624]
>> HA_CONFIGURATION_SUCCESSFUL HA hook library has been successfully
>> configured
>> 2019-01-20 11:58:32.287 INFO  [kea-ctrl-agent.ha-hooks/26624]
>> HA_INIT_OK loading High Availability hooks library successful
>> 2019-01-20 11:58:32.287 INFO  [kea-ctrl-agent.hooks/26624]
>> HOOKS_LIBRARY_LOADED hooks library
>> /usr/lib/aarch64-linux-gnu/hooks/libdhcp_ha.so successfully loaded
>> 2019-01-20 11:58:32.287 INFO  [kea-ctrl-agent.ctrl-agent/26624]
>> CTRL_AGENT_HTTP_SERVICE_STARTED HTTP service bound to address
>> 192.168.26.248:8080
>> 2019-01-20 11:58:32.288 INFO  [kea-ctrl-agent.dctl/26624]
>> DCTL_CONFIG_COMPLETE server has completed configuration: listening on
>> 192.168.26.248, port 8080, control sockets: dhcp4, 1
>> lib(s):/usr/lib/aarch64-linux-gnu/hooks/libdhcp_ha.so kea-ctrl-agent:
>> /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename
>> boost::detail::sp_member_access<T>::type
>> boost::shared_ptr<T>::operator->() const [with T = isc::ha::HAService;
>> typename boost::detail::sp_member_access<T>::type =
>> isc::ha::HAService*]: Assertion `px != 0' failed.
> 
> 
> I do think the manuals for Kea could be improved particularly with
> working examples HA configurations.
> 
> 
> 
> 
> _______________________________________________
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users




More information about the Kea-users mailing list