[Kea-users] Failed to Sync lease updates from primary to backup in Hot-standby mode in V1.5.0

luckydog xf luckydogxf at gmail.com
Thu Apr 2 08:36:26 UTC 2020


  Hi, list,

  I'm using Kea V1.5.0 and running two dhcp servers in Hot-standby mode. My
lease database is Memfile. I setup NTP for both servers.

   Here is part of my configuration,
===============
              "high-availability": [ {
                    "this-server-name": "server2",
                    "mode": "hot-standby",
                    "heartbeat-delay": 10000,
                    "max-response-delay": 10000,
                    "max-ack-delay": 5000,
                    "max-unacked-clients": 5,

                    "send-lease-updates": true,
                    "sync-leases": true,
                    "sync-page-limit": 10000,
                    "sync-timeout": 30000,

                    "peers": [
                        {
                            "name": "server1",
                            "url": "http://172.16.232.18:8080/",
                            "role": "primary",
                            "auto-failover": true
                        },
                        {
                            "name": "server2",
                            "url": "http://172.16.232.20:8080/",
                            "role": "standby",
                            "auto-failover": true
                        }
=============

Yet  on standby server ,it says that,
===============
2020-04-02 11:08:19.269 INFO  [kea-dhcp4.ha-hooks/11468]
HA_LOCAL_DHCP_DISABLE local DHCP service is disabled while the server2 is
in the WAITING state
2020-04-02 11:08:19.269 INFO  [kea-dhcp4.ha-hooks/11468] HA_SERVICE_STARTED
started high availability service in hot-standby mode as standby server
2020-04-02 11:08:19.269 INFO  [kea-dhcp4.dhcp4/11468] DHCP4_STARTED Kea
DHCPv4 server version 1.5.0 started
2020-04-02 11:08:31.283 INFO  [kea-dhcp4.ha-hooks/11468]
HA_STATE_TRANSITION server transitions from WAITING to TERMINATED state,
partner state is TERMINATED
2020-04-02 11:08:31.283 INFO  [kea-dhcp4.ha-hooks/11468]
HA_LEASE_UPDATES_DISABLED lease updates will not be sent to the partner
while in TERMINATED state
2020-04-02 11:08:31.283 INFO  [kea-dhcp4.ha-hooks/11468]
HA_LOCAL_DHCP_ENABLE local DHCP service is enabled while the server2 is in
the TERMINATED state
2020-04-02 11:08:31.283 ERROR [kea-dhcp4.ha-hooks/11468] HA_TERMINATED HA
service terminated because of the unacceptable clock skew; fix the problem
and restart!

============

I'm sure two severs get correct date time. So what's the reason ?

Is it related to
https://gitlab.isc.org/isc-projects/kea/-/merge_requests/414 ?

Thanks and take care.

-hongquan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200402/50d87962/attachment.htm>


More information about the Kea-users mailing list