[Kea-users] FW: KEA 1.8 on Ubuntu 20.04, High Availability hooks error/configuration
At the moment KEA 1.4 runs in our production environment in a High Availability setup. We are rebuilding this production environment with a KEA 1.8 installation on Ubuntu 20.04 where KEA runs in LXC containers. KEA 1.8 is installed via
the Debian Cloudsmith repositories.
When we configure the kea-dhcp4 config without the hooks-libraries section, everything works fine. DHCP offers were sent to the test client. But, when we add the hooks-libraries section for the high availability configuration, we
get the error showed below:
DHCP4_CONFIG_LOAD_FAIL configuration error using file: /etc/kea/kea-dhcp4.conf, reason: One or more hook libraries failed to load
We determined that the location of the hooks file is in: /usr/lib/x86_64-linux-gnu/kea/hooks/. First we saw that the permissions on these files were different compared to the KEA 1.4 servers. We corrected that by using the Ubuntu
chmod 755 libdhcp_* command in the directory.
After this change, the error above still shows up.
Are there some extra steps needed to use the High Availability Hooks in KEA 1.8? The KEA 1.8 documentation states that the hook is part of the source code.
Attached below you will find the hook-libraries section configuration we use within the Dhcp4 configuration. Note: we removed the name of the server and the IP address and we will add the secondary server later on. The problem for now is
that, the hooks won’t load.