[Kea-users] Lease Database ALLOC Error

Jeronimo jscmenezes at gmail.com
Tue May 4 03:30:32 UTC 2021


Hi,

I am trying to configure lease-database with a Postgres SGBD. The Kea
server start and alloc addresses but after a time these errors begins



*2021-05-04 03:09:33.870 INFO  [kea-dhcp6.leases/15193.140507204749184]
DHCP6_LEASE_ADVERT
duid=[00:04:aa:92:80:06:42:cd:6e:9f:cb:a7:ab:1b:b4:24:14:65], tid=0x9aefcd:
lease for address 2001:db8:706:801::5 and iaid=3042863103 will be
advertised2021-05-04 03:09:33.880 INFO
 [kea-dhcp6.leases/15193.140507204749184] DHCP6_LEASE_ALLOC
duid=[00:04:aa:92:80:06:42:cd:6e:9f:cb:a7:ab:1b:b4:24:14:65], tid=0x8d5371:
lease for address 2001:db8:706:801::5 and iaid=3042863103 has been
allocated for 400 seconds2021-05-04 03:11:23.661 ERROR
[kea-dhcp6.alloc-engine/15193.140507204749184] ALLOC_ENGINE_V6_EXTEND_ERROR
duid=[00:04:aa:92:80:06:42:cd:6e:9f:cb:a7:ab:1b:b4:24:14:65], tid=0x79a5ff:
allocation engine experienced error with attempting to extend lease
lifetime: unable to update lease for address 2001:db8:706:801::5 as it does
not exist2021-05-04 03:11:33.353 ERROR
[kea-dhcp6.alloc-engine/15193.140507204749184] ALLOC_ENGINE_V6_EXTEND_ERROR
duid=[00:04:aa:92:80:06:42:cd:6e:9f:cb:a7:ab:1b:b4:24:14:65], tid=0x79a5ff:
allocation engine experienced error with attempting to extend lease
lifetime: unable to update lease for address 2001:db8:706:801::5 as it does
not exist*

I can see the lease in the Postgres DB:

*address,duid,valid_lifetime,expire,subnet_id,pref_lifetime,lease_type,iaid,prefix_len,fqdn_fwd,fqdn_rev,hostname,state,hwaddr,hwtype,hwaddr_source,user_context2001:db8:706:801::5,"{""type"":""Buffer"",""data"":[0,4,170,146,128,6,66,205,110,159,203,167,171,27,180,36,20,101]}",400,2021-05-04T06:16:13.000Z,1,300,0,-1252104193,128,,,ubuntu20.,0,"{""type"":""Buffer"",""data"":[]}",0,0,*

Reestart the Kea Server does not correct the issue.
I need to truncate lease6 table to correct the operation of the dhcp6
service.
Well, seems that Kea can't locate and update/erase the lease in DB. But why?

Anyone can help me with any ideia?

Thanks in advance.

Jeronimo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20210504/cc7f1125/attachment.htm>


More information about the Kea-users mailing list