[Kea-users] Kea 1.6.3: ALLOC_ENGINE_V6_ALLOC_FAIL warning message even if the address is successfully assigned

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] Kea 1.6.3: ALLOC_ENGINE_V6_ALLOC_FAIL warning message even if the address is successfully assigned

laaubert
This post was updated on .
Hi,

I'm using Kea 1.6.3 to assign IPv6 addresses to endpoints which support rapid-commit only. The addresses are assigned but I do see the following warning messages in the logs:

2020-11-24 21:26:58.831 INFO  [kea-dhcp6.leases/1] DHCP6_LEASE_ALLOC duid=[00:03:00:06:00:17:3b:10:00:44:00:21], tid=0xa852e0: lease for address fd10:5::1 and iaid=0 has been allocated for 2592000 seconds
2020-11-24 21:26:58.832 WARN  [kea-dhcp6.alloc-engine/1] ALLOC_ENGINE_V6_ALLOC_FAIL duid=[00:03:00:06:00:17:3b:10:00:44:00:21], tid=0xa852e0: failed to allocate an IPv6 address after 0 attempt(s)
2020-11-24 21:26:59.919 INFO  [kea-dhcp6.leases/1] DHCP6_LEASE_ALLOC duid=[00:03:00:06:00:17:3b:05:00:5f:00:30], tid=0xb20788: lease for address fd10:5::2 and iaid=0 has been allocated for 2592000 seconds
2020-11-24 21:26:59.919 WARN  [kea-dhcp6.alloc-engine/1] ALLOC_ENGINE_V6_ALLOC_FAIL duid=[00:03:00:06:00:17:3b:05:00:5f:00:30], tid=0xb20788: failed to allocate an IPv6 address after 0 attempt(s)

We can see the assigned addresses being added to the leases file:

[admin@fanhe-ucse-1 ~]$ more /home/fanhe/dhcp-app/data/kea-leases6.csv
address,duid,valid_lifetime,expire,subnet_id,pref_lifetime,lease_type,iaid,prefix_len,fqdn_fwd,fqdn_rev,hostname,hwaddr,state,user_context
fd10:0:0:5::2,00:02:00:00:00:09:01:12:49:52:38:32:39:47:57:2d:4c:54:45:2d:4e:41:2d:41:4b:39:02:0b:46:54:58:32:30:33:39:5a:30:30:47,4294967295,5901218774,100,4294967295,0,0,128,0,0,,,0,
fd10:0:0:5::1,00:02:00:00:00:09:01:0a:43:47:52:31:32:34:30:2f:4b:39:02:0b:4a:41:44:32:30:30:31:30:30:50:57,4294967295,5901218818,100,4294967295,0,0,128,0,0,,,0,
fd10:5::1,00:03:00:06:00:17:3b:10:00:44:00:21,2592000,1608845218,201,2592000,0,0,128,0,0,,00:17:3b:10:00:44:00:21,0,
fd10:5::2,00:03:00:06:00:17:3b:05:00:5f:00:30,2592000,1608845219,201,2592000,0,0,128,0,0,,00:17:3b:05:00:5f:00:30,0,

My subnet6 config is the following:

{
        "calculate-tee-times": true,
        "id": 201,
        "option-data": [ ],
        "pd-pools": [ ],
        "pools": [
          {
            "option-data": [ ],
            "pool": "fd10:5::1-fd10:5::ffff:ffff:ffff:fffe"
          }
        ],
        "preferred-lifetime": 2592000,
        "rapid-commit": true,
        "relay": {
          "ip-addresses": [ ]
        },
        "reservation-mode": "all",
        "reservations": [ ],
        "subnet": "fd10:5::/64",
        "t1-percent": 0.5,
        "t2-percent": 0.8,
        "valid-lifetime": 2592000
      },


Should I be worried about those warnings or I can safely ignored them ?

Thanks for your support