On Ubuntu 20 works only Passive-Backup HA Hook
name: Only Passive-Backup HA Hook is working on ubuntu 20
Describe the bug There is not possible to run other HA hooks than Passive-Backup on ubuntu 20 where is kea installed from deb packages. I tried it on KEA v. 1.8.2, now I updated to 1.9.4 and it still does not work.
There is the log message:
2021-02-15 13:12:14.611 ERROR [kea-dhcp4.dhcp4/17343.140631659090112] DHCP4_CONFIG_LOAD_FAIL configuration error using file: /etc/kea/kea-dhcp4.conf, reason: One or more hook libraries failed to load
2021-02-15 13:12:14.611 ERROR [kea-dhcp4.dhcp4/17343.140631659090112] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/etc/kea/kea-dhcp4.conf': One or more hook libraries failed to load
Environment:
- Kea version: 1.9.4
- OS: 20.04.2 LTS (Focal Fossa
- Which features were compiled in (in particular which backends)
Additional Information
Hook loaded like: (version 1.9.4)
"hooks-libraries": [{
"library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so",
"parameters": { }
},
{
"library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_ha.so",
"parameters": {
"high-availability": [{
"this-server-name": "server1",
"mode": "load-balancing",
"heartbeat-delay": 10000,
"max-response-delay": 10000,
"max-ack-delay": 5000,
"max-unacked-clients": 5,
"delayed-updates-limit": 100,
"peers": [{
"name": "server1",
"url": "http://10.99.107.80:8000/",
"role": "primary"
}, {
"name": "server2",
"url": "http://10.99.107.81:8000/",
"role": "backup"
}]
}]
}
}]