Gordon,

Thanks for posting your issue to the Kea users list. I will try to
replicate your issue tomorrow with the Postgres lease database backend.

It will be super useful if you send me your Kea configuration file. You
can sanitize it from any private stuff it may contain. Please send it to
me privately if it can't be posted to the mail list.

If it is not possible, please describe the major parts of the
configuration, e.g. is multi threading on or off, are you using any
hooks libraries (e.g. lease cmds?), are you sending any commands to Kea
that can possibly modify the lease information?

Finally, please provide your Postgres database version.

Kind Regards,

Marcin Siodelski
DHCP Software Engineer,
ISC


On 06.07.2021 18:28, Gordon Ross wrote:
> On the off chance, I tried an upgrade to Kea 1.9.9 and the problem persists.
> 
> Gordon.
> 
> On 05/07/2021, 16:16, "Kea-users on behalf of Gordon Ross" 
> <[email protected] on behalf of [email protected]> wrote:
>
>     I'm running Kea 1.8.2 using the Postgres lease database backend on Ubuntu 
> 20.04 LTS
> 
>     Devices can get a new IPv4 address fine. But when they try to renew their 
> address, it fails and the logs show:
> 
>     ALLOC_ENGINE_V4_ALLOC_ERROR [hwtype=1 00:21:55:02:67:14], 
> cid=[01:00:21:55:02:67:14], tid=0x58cd: error during attempt to allocate an 
> IPv4 address: unable to update lease for address 172.18.5.4 as it does not 
> exist
> 
>     If I delete the entry from the leases table, Kea then happily re-issues 
> the address. (I can perform the DELETE as the Kea DB user so no permissions 
> problems there)
> 
>     I saw an earlier post about an error in Kea 1.8 & HA, but I'm not running 
> HA at the moment - and I'm on a later version of Kea.
> 
>     Is this bug still outstanding in 1.8.2?
> 
>     Thank you,
> 
>     Gordon
>     -- 
>     Gordon Ross 
>     University of Cambridge
> 
>     _______________________________________________
>     ISC funds the development of this software with paid support 
> subscriptions. Contact us at 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&amp;data=04%7C01%7Cgr306%40cam.ac.uk%7Cdb98839da5a9408412d308d93fc7e861%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637610950090875745%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=GmN8ecBqF1620llzaQCTQZgNTZQDTnbieR%2BofIj5eU0%3D&amp;reserved=0
>  for more information.
> 
>     To unsubscribe visit 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&amp;data=04%7C01%7Cgr306%40cam.ac.uk%7Cdb98839da5a9408412d308d93fc7e861%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637610950090885703%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=TC0iluctEx6aSeyszaI68xpZDoNaXT1%2FocA6J%2BgVAec%3D&amp;reserved=0.
> 
>     Kea-users mailing list
>     [email protected]
>     
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&amp;data=04%7C01%7Cgr306%40cam.ac.uk%7Cdb98839da5a9408412d308d93fc7e861%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637610950090885703%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=TC0iluctEx6aSeyszaI68xpZDoNaXT1%2FocA6J%2BgVAec%3D&amp;reserved=0
> 
> _______________________________________________
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
> 
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> 
> Kea-users mailing list
> [email protected]
> https://lists.isc.org/mailman/listinfo/kea-users
> 

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to