[Kea-users] ALLOC_ENGINE_V6_ALLOC_NO_LEASES_HR and ALLOC_ENGINE_V6_ALLOC_UNRESERVED
Veronique.Lefebure at cern.ch
Veronique.Lefebure at cern.ch
Wed Jun 22 08:36:21 UTC 2022
Replying to myself:
The problem has been solved by deleting the lease files which was containing stale lease information from previous tests.
Is there a tool that an admin can use to remove stale entries from a lease file ?
By the way, I have tries to use kea-admin to have a look at the leases but it exists with:
kea-admin lease-dump memfile
ERROR/kea-admin: lease-dump is not supported for memfile
While the help says:
Usage: /usr/sbin/kea-admin COMMAND BACKEND [parameters]
COMMAND: Currently supported operations are:
- db-init: Initializes new database. Useful for first time installation.
- db-version: Checks version of the existing database schema. Useful
- for checking database version when preparing for an upgrade.
- db-upgrade: Upgrades your database schema.
- lease-dump: Dumps current leases to a memfile-ready CSV file.
- lease-upload: Uploads leases from a CSV file to the database.
- stats-recount: Recounts lease statistics.
BACKEND - one of the supported backends: memfile|mysql|pgsql
Is "memfile" really supported ?
Thanks,
Veronique
> On 21/06/2022 16:59 Veronique Lefebure <veronique.lefebure at cern.ch> wrote:
>
>
>
>
> Hi,
> Out test client is failing to get an IPv6 IP.
> Enabling debug logs, we see messages from the server that seem contradictory:
>
> 2022-06-21 16:43:50.948 DEBUG [kea-dhcp6.alloc-engine/13499.139838611867840] ALLOC_ENGINE_V6_ALLOC_NO_LEASES_HR no leases found but reservations exist for client duid=[00:01:00:01:2a:44:7a:5c:xx:xx:xx:xx:xx:xx], tid=0x93e611 2022-06-21 16:43:50.948 DEBUG [kea-dhcp6.alloc-engine/13499.139838611867840] ALLOC_ENGINE_V6_ALLOC_UNRESERVED no static reservations available - trying to dynamically allocate leases for client duid=[00:01:00:01:2a:44:7a:5c:xx:xx:xx:xx:xx:xx], tid=0x93e611
>
> where xx:xx:xx:xx:xx:xx is the client mac address.
> How can that happen ?
>
> Kea has correctly identified the subnet where the client reservation is defined:
> 2022-06-21 16:43:50.947 DEBUG [kea-dhcp6.packets/13499.139838611867840] DHCP6_SUBNET_SELECTED duid=[00:01:00:01:2a:44:7a:5c:xx:xx:xx:xx:xx:xx], tid=0x93e611: the subnet with ID 2156789248 was selected for client assignments
>
> Thanks for helping.
> Veronique --
> 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/20220622/ea968fb9/attachment-0001.htm>
More information about the Kea-users
mailing list