<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 4, 2024 at 12:10 PM Andrew Rowson via Kea-users <<a href="mailto:kea-users@lists.isc.org">kea-users@lists.isc.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I'm using isc-kea-dhcp6 (2.4.1-isc20231123184533) on Debian bookworm and am having a minor logging issue. I've got a minimal config that defines a single subnet, an allocatable pool within that subnet and a single reservation. <br>
<br>
The host gets its reserved IP successfully, but there's always a WARN log dance in the kea logs with ALLOC_ENGINE_V6_ALLOC_FAIL_SUBNET, ALLOC_ENGINE_V6_ALLOC_FAIL_NO_POOLS and ALLOC_ENGINE_V6_ALLOC_FAIL_CLASSES.<br>
<br>
Are these warnings expected, or have I misunderstood something about the configuration?<br>
<br>
Thanks,<br>
Andrew<br>
<br>
Config:<br>
<br>
    {<br>
        "Dhcp6": {<br>
            "interfaces-config": {<br>
                "interfaces": [<br>
                    "enp1s0.2",<br>
                ]<br>
            },<br>
            "lease-database": {<br>
                "lfc-interval": 1800,<br>
                "name": "/var/lib/kea/kea-leases6.csv",<br>
                "type": "memfile"<br>
            },<br>
            "subnet6": [<br>
                {<br>
                    "interface": "enp1s0.2",<br>
                    "reservation-mode": "out-of-pool",<br>
                    "pools": [<br>
                        {<br>
                            "pool": "2001:123:456:e8b0:beef:f00f::/112"<br>
                        }<br>
                    ],<br>
                    "reservations-global": false,<br>
                    "reservations-in-subnet": true,<br>
                    "eservations-out-of-pool": true,<br></blockquote><div><br></div><div>Probably not the solution, but the line above seems to be missing the first letter.  Is it that way on the server?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                    "subnet": "2001:123:456:e8b0::/64",<br>
                    "reservations": [<br>
                        {<br>
                            "duid": "00:03:00:01:b8:27:eb:bf:db:dd",<br>
                            "hostname": "myhost",<br>
                            "ip-addresses": [<br>
                                "2001:123:456:e8b0::f"<br>
                            ]<br>
                        }<br>
                    ]<br>
                }<br>
            ],<br>
            "valid-lifetime": 1800<br>
        }<br>
    }<br>
<br>
Logs: <br>
<br>
    INFO [kea-dhcp6.dhcp6/182198.139733472774592] DHCP6_STARTED Kea DHCPv6 server version 2.4.1 started<br>
    INFO  [kea-dhcp6.leases/182198.139733433005760] DHCP6_LEASE_ADVERT duid=[00:03:00:01:b8:27:eb:bf:db:dd], tid=0x3e9640: lease for address 2001:123:456:e8b0::f and iaid=1746070577 will be advertised<br>
    WARN  [kea-dhcp6.alloc-engine/182198.139733433005760] ALLOC_ENGINE_V6_ALLOC_FAIL_SUBNET duid=[00:03:00:01:b8:27:eb:bf:db:dd], tid=0x3e9640: failed to allocate an IPv6 lease in the subnet 2001:123:456:e8b0::/64, subnet-id 1, shared network (none)<br>
    WARN  [kea-dhcp6.alloc-engine/182198.139733433005760] ALLOC_ENGINE_V6_ALLOC_FAIL_NO_POOLS duid=[00:03:00:01:b8:27:eb:bf:db:dd], tid=0x3e9640: no pools were available for the lease allocation<br>
    WARN  [kea-dhcp6.alloc-engine/182198.139733433005760] ALLOC_ENGINE_V6_ALLOC_FAIL_CLASSES duid=[00:03:00:01:b8:27:eb:bf:db:dd], tid=0x3e9640: Failed to allocate an IPv6 address for client with classes: ALL, KNOWN<br>
    INFO  [kea-dhcp6.leases/182198.139733424613056] DHCP6_LEASE_ALLOC duid=[00:03:00:01:b8:27:eb:bf:db:dd], tid=0x137d91: lease for address 2001:123:456:e8b0::f and iaid=1746070577 has been allocated for 1800 seconds<br>
-- <br>
<br></blockquote><div>-- </div><div>Bob Harold</div><div> <br></div></div></div>