My bad - typo in the email. It's correct on the server:

    "subnet": "2001:123:456:e8b0::/64",
    "reservations-global": false,
    "reservations-in-subnet": true,
    "reservations-out-of-pool": true,
    "reservations": [

On Thu, 4 Jan 2024, at 5:17 PM, Bob Harold wrote:
> On Thu, Jan 4, 2024 at 12:10 PM Andrew Rowson via Kea-users 
> <kea-users@lists.isc.org> wrote:
>> Hi,
>> 
>> 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. 
>> 
>> 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.
>> 
>> Are these warnings expected, or have I misunderstood something about the 
>> configuration?
>> 
>> Thanks,
>> Andrew
>> 
>> Config:
>> 
>>     {
>>         "Dhcp6": {
>>             "interfaces-config": {
>>                 "interfaces": [
>>                     "enp1s0.2",
>>                 ]
>>             },
>>             "lease-database": {
>>                 "lfc-interval": 1800,
>>                 "name": "/var/lib/kea/kea-leases6.csv",
>>                 "type": "memfile"
>>             },
>>             "subnet6": [
>>                 {
>>                     "interface": "enp1s0.2",
>>                     "reservation-mode": "out-of-pool",
>>                     "pools": [
>>                         {
>>                             "pool": "2001:123:456:e8b0:beef:f00f::/112"
>>                         }
>>                     ],
>>                     "reservations-global": false,
>>                     "reservations-in-subnet": true,
>>                     "eservations-out-of-pool": true,
>
> Probably not the solution, but the line above seems to be missing the 
> first letter.  Is it that way on the server?
> 
>>                     "subnet": "2001:123:456:e8b0::/64",
>>                     "reservations": [
>>                         {
>>                             "duid": "00:03:00:01:b8:27:eb:bf:db:dd",
>>                             "hostname": "myhost",
>>                             "ip-addresses": [
>>                                 "2001:123:456:e8b0::f"
>>                             ]
>>                         }
>>                     ]
>>                 }
>>             ],
>>             "valid-lifetime": 1800
>>         }
>>     }
>> 
>> Logs: 
>> 
>>     INFO [kea-dhcp6.dhcp6/182198.139733472774592] DHCP6_STARTED Kea DHCPv6 
>> server version 2.4.1 started
>>     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
>>     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)
>>     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
>>     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
>>     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
>> -- 
>> 
> -- 
> Bob Harold
-- 
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to