<div dir="ltr">Hello,<div><br></div><div>Any idea why this happens? </div><div>I notice that when I enabled ha in hooks logger I have also decreased 2h time. Only kea-ctrl-agent presents system's time.</div><div>This issue I have on 3 different systems (debian 9, debian 10 and ubuntu 18) and tried on kea 1.6.2 and 1.7.8 with the same issue.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">śr., 3 cze 2020 o 14:08 Marcin Romanowski <<a href="mailto:marcin@nicram.net">marcin@nicram.net</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>I have different time log on agnets:</div><div><br></div><div><font face="monospace">2020-06-03 <b>14:00:05</b>.755 INFO  [kea-ctrl-agent.ctrl-agent/10744] CTRL_AGENT_COMMAND_FORWARDED command config-write successfully forwarded to the service dhcp4<br></font></div><div><font face="monospace"><br></font></div><div><font face="monospace">20.06.03 <b>12:00:05</b>.611 INFO  [kea-dhcp4.dhcpsrv/10736] DHCPSRV_PGSQL_HOST_DB_READONLY PostgreSQL host database opened for read access only<br>20.06.03 12:00:05.629 INFO  [kea-dhcp4.commands/10736] COMMAND_RECEIVED Received command 'config-write'<br></font></div><div><br></div><div>These logs are from the same time but dhcp4 shows 2 hours less. kea-ctrl-agnet show system time.</div><div>I didn't make any changes in configuration about time </div><div><br></div><div>Where to find solution?</div><div><font face="monospace"><br></font></div><div><font face="monospace">{<br>  "Dhcp4": {<br>    "authoritative": false,<br>    "boot-file-name": "",<br>    "calculate-tee-times": false,<br>    "control-socket": {<br>      "socket-name": "/opt/kea/var/run/kea/kea-dhcp4-ctrl.sock",<br>      "socket-type": "unix"<br>    },<br>    "decline-probation-period": 86400,<br>    "dhcp-ddns": {<br>      "enable-updates": false,<br>      "generated-prefix": "myhost",<br>      "max-queue-size": 1024,<br>      "ncr-format": "JSON",<br>      "ncr-protocol": "UDP",<br>      "override-client-update": false,<br>      "override-no-update": false,<br>      "qualifying-suffix": "",<br>      "replace-client-name": "never",<br>      "sender-ip": "0.0.0.0",<br>      "sender-port": 0,<br>      "server-ip": "127.0.0.1",<br>      "server-port": 53001<br>    },<br>    "dhcp-queue-control": {<br>      "capacity": 500,<br>      "enable-queue": false,<br>      "queue-type": "kea-ring4"<br>    },<br>    "dhcp4o6-port": 0,<br>    "echo-client-id": false,<br>    "expired-leases-processing": {<br>      "flush-reclaimed-timer-wait-time": 25,<br>      "hold-reclaimed-time": 3600,<br>      "max-reclaim-leases": 100,<br>      "max-reclaim-time": 250,<br>      "reclaim-timer-wait-time": 10,<br>      "unwarned-reclaim-cycles": 5<br>    },<br>    "hooks-libraries": [ ],<br>    "host-reservation-identifiers": [ "hw-address", "duid" ],<br>    "hostname-char-replacement": "",<br>    "hostname-char-set": "[^A-Za-z0-9.-]",<br>    "hosts-databases": [<br>      {<br>        "host": "10.1.1.1.",<br>        "max-reconnect-tries": 100000,<br>        "name": "kea",<br>        "password": "kea",<br>        "port": 5432,<br>        "readonly": true,<br>        "reconnect-wait-time": 30000,<br>        "type": "postgresql",<br>        "user": "kea"<br>      }<br>    ],<br>    "interfaces-config": {<br>      "dhcp-socket-type": "udp",<br>      "interfaces": [ "vlan4049" ],<br>      "re-detect": true<br>    },<br>    "lease-database": {<br>      "lfc-interval": 3600,<br>      "type": "memfile"<br>    },<br>    "loggers": [<br>      {<br>        "name": "kea-dhcp4",<br>        "output_options": [<br>          {<br>            "output": "/opt/kea/var/log/kea-dhcp4.log",<br>            "pattern": "%d{%y.%m.%d %H:%M:%S.%q} %-5p [%c/%i] %m\n"<br>          }<br>        ],<br>        "severity": "INFO"<br>      }<br>    ],<br>    "match-client-id": false,<br>    "next-server": "0.0.0.0",<br>    "option-data": [<br>      {<br>        "always-send": true,<br>        "code": 6,<br>        "csv-format": true,<br>        "data": "8.8.8.8,1.1.1.1",<br>        "name": "domain-name-servers",<br>        "space": "dhcp4"<br>      }<br>    ],<br>    "option-def": [ ],<br>    "rebind-timer": 2000,<br>    "renew-timer": 1000,<br>    "reservation-mode": "all",<br>    "sanity-checks": {<br>      "lease-checks": "fix-del"<br>    },<br>    "server-hostname": "",<br>    "server-tag": "",<br>    "shared-networks": [    ],<br></font></div><font face="monospace">    "subnet4": [ ],<br>    "t1-percent": 0.5,<br>    "t2-percent": 0.875,<br>    "valid-lifetime": 86400<br>  }<br>}</font><div><br></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Marcin Romanowski / nicraM<br></div><div><img src="https://docs.google.com/uc?export=download&id=1tF66ovI5kS7h-4bp0atR0UMIQMnsAEbm&revid=0B1o0UzQJ45KxQ3VhbEhEQ2szRXV6SEhaS1hpVmx6UWNxV2pFPQ" width="96" height="26"><br><br></div></div></div></div></div>