[Kea-users] lease state, cltt, and valid-lft
Diogo André de Assumpção
daa at meta.com
Wed Jan 21 08:57:28 UTC 2026
Hi all,
I'm trying to understand these results from the lease6-get command. Particularly, why the "state" is "0" (assigned) if the cltt + valid-lft is well in the past? Any relation to the LFC process?
My logs show a couple of "ALLOC_ENGINE_V6_LEASES_RECLAMATION_SLOW" events, but all before the cltt in the example bellow.
root at dhcp-server:~# echo '{ "command": "lease6-get", "arguments": { "ip-address": "2001:db8:1234:5678::1" } }' | socat UNIX:/run/kea/kea6-ctrl-socket -,ignoreeof | jq .
{
"arguments": {
"cltt": 1768575433,
"duid": "00:03:00:01:aa:bb:cc:dd:ee:ff",
"fqdn-fwd": false,
"fqdn-rev": false,
"hostname": "",
"hw-address": "aa:bb:cc:dd:ee:ff",
"iaid": 0,
"ip-address": "2001:db8:1234:5678::1",
"preferred-lft": 28800,
"state": 0,
"subnet-id": 123456789,
"type": "IA_NA",
"user-context": {
"ISC": {
"relay-info": [
{
"hop": 0,
"link": "2001:db8:1234:5678::3",
"options": "0x0035001F00020000XXXX00000000000000000000000000000000000000000000004F0008000100000000000000",
"peer": "fe80::1111:2222:3333:4444",
"relay-id": "00020000XXXX00000000000000000000000000000000000000000000"
}
]
}
},
"valid-lft": 43200
},
"result": 0,
"text": "IPv6 lease found."
} The timers and reclaim numbers are:
"expired-leases-processing": {
"reclaim-timer-wait-time": 3600,
"hold-reclaimed-time": 172800,
"max-reclaim-leases": 500,
"max-reclaim-time": 250,
"unwarned-reclaim-cycles": 10
},
"valid-lifetime": 43200,
"preferred-lifetime": 28800,
"renew-timer": 14400,
"rebind-timer": 23040,
"cache-threshold": .30,
Any info is appreciated.
Thanks,
Diogo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20260121/d07c844f/attachment-0001.htm>
More information about the Kea-users
mailing list