[Kea-users] Unable to re-allocate address

Gordon Ross gr306 at cam.ac.uk
Wed Jul 7 06:42:36 UTC 2021


My configuration is very simple. There are no hooks, no HA, no multi-threading, no fancy commands.

Postgres version is 12.7

Gordon.

On 06/07/2021, 19:27, "Marcin Siodelski" <marcin at isc.org> wrote:

    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" <kea-users-bounces at lists.isc.org on behalf of gr306 at cam.ac.uk> 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&data=04%7C01%7Cgr306%40cam.ac.uk%7Ca279f324acc84a66ab3c08d940abad12%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637611928779424476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=eq9EslaePYR9Eju%2FOHp5krzAwc5A70FQoLe4KdFY%2BRo%3D&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&data=04%7C01%7Cgr306%40cam.ac.uk%7Ca279f324acc84a66ab3c08d940abad12%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637611928779424476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YHLKNqq5nZhFHWcrtxTNLHtrtGRjHsXGKIZoPwTTLLM%3D&reserved=0.
    > 
    >     Kea-users mailing list
    >     Kea-users at lists.isc.org
    >     https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=04%7C01%7Cgr306%40cam.ac.uk%7Ca279f324acc84a66ab3c08d940abad12%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637611928779424476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YHLKNqq5nZhFHWcrtxTNLHtrtGRjHsXGKIZoPwTTLLM%3D&reserved=0
    > 
    > _______________________________________________
    > 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&data=04%7C01%7Cgr306%40cam.ac.uk%7Ca279f324acc84a66ab3c08d940abad12%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637611928779424476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=eq9EslaePYR9Eju%2FOHp5krzAwc5A70FQoLe4KdFY%2BRo%3D&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&data=04%7C01%7Cgr306%40cam.ac.uk%7Ca279f324acc84a66ab3c08d940abad12%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637611928779424476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YHLKNqq5nZhFHWcrtxTNLHtrtGRjHsXGKIZoPwTTLLM%3D&reserved=0.
    > 
    > Kea-users mailing list
    > Kea-users at lists.isc.org
    > https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=04%7C01%7Cgr306%40cam.ac.uk%7Ca279f324acc84a66ab3c08d940abad12%7C49a50445bdfa4b79ade3547b4f3986e9%7C0%7C0%7C637611928779424476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YHLKNqq5nZhFHWcrtxTNLHtrtGRjHsXGKIZoPwTTLLM%3D&reserved=0
    > 




More information about the Kea-users mailing list