[Kea-users] ALLOC_ENGINE_V4_ALLOC_FAIL

Sten Carlsen stenc at s-carlsen.dk
Mon Jul 6 12:45:11 UTC 2020


Thanks

Sten

> On 6 Jul 2020, at 14.33, Ismael Suarez <Ismael_Suarez at coqui.com> wrote:
> 
> Turns out, one I removed the following from each subnet (just did them all at once) it started giving out leases.
> "client-class": "HA_server1"
> This will not be used in cluster for now, so I can manage. But really don't understat why it was not working before. Any setting I am missing where it was hitting a default threshold?
> 
> Kind of bumbed out not finding the culprit of my problem.
> 
> The setting I am testing out has over 130 subnets looking like the following (not real IPs here)
> 
> 
> NOT WORKING
>        {
>            "subnet": "1.2.3.4/18",
>            "id": 1008,
>            "pools": [ { "pool": "1.2.3.2 - 1.2.3.254", "client-class": "HA_server1" } ],
>            "option-data": [ { "name": "routers", "data": "1.2.3.1" } ]
>        },
> 

The example in the manuallooks like this:


The client-class is defined outside the pool, so syntax seems to be incorrect.

> 
> WORKING
>        {
>            "subnet": "1.2.3.0/18",
>            "id": 1008,
>            "pools": [ { "pool": "1.2.3.2 - 1.2.3.254" } ],
>            "option-data": [ { "name": "routers", "data": "1.2.3.1" } ]
>        },
> 
> 
> NOTE: HA hook is not in use (commented).
> 
> --
> 
> Ism
> 
> 
> -----Original Message-----
> From: Joshua Schaeffer <jschaeffer at harmonywave.com<mailto:Joshua%20Schaeffer%20%3cjschaeffer at harmonywave.com%3e>>
> To: kea-users at lists.isc.org<mailto:kea-users at lists.isc.org>
> Subject: Re: [Kea-users] ALLOC_ENGINE_V4_ALLOC_FAIL
> Date: Fri, 03 Jul 2020 17:25:15 -0600
> 
> On 7/3/20 4:48 PM, Ismael Suarez wrote:
> 
> Dont have ‘client-classes’ in my config. Not using reservations. Just simple subnets.
> 
> 
> Used to have it setup in HA but now don’t. Still have de HA_server1 for each subnet. Think that may be bothering somehow?
> 
> 
> I would recommend turning on DEBUG. You will get far more information as to why the allocation failed, or at least be able to rule out certain situations.
> 
> --
> 
> Thanks,
> 
> Joshua Schaeffer
> 
> _______________________________________________
> 
> 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
> 
> Kea-users at lists.isc.org<mailto:Kea-users at lists.isc.org>
> 
> 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
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200706/fdfba128/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 60829 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200706/fdfba128/attachment-0001.png>


More information about the Kea-users mailing list