<div dir="ltr">Hi,<div><br></div><div>I'm a new Kea user. Just recently upgraded to 1.3.0 and went into production with DHCPv4 and DHCPv6 reservations and leases stored in PostgreSQL.</div><div><br></div><div>Upon a reboot or change on a workstation we noticed the user was not able to get its IP address anymore:</div><div><br></div><div><div>2017-11-03 13:15:26.269 WARN  [kea-dhcp4.alloc-engine/31631] ALLOC_ENGINE_V4_DISCOVER_ADDRESS_CONFLICT [hwtype=1 f4:6d:04:0f:3f:b6], cid=[01:f4:6d:04:0f:3f:b6], tid=0xe1f27234: conflicting reservation for address 200.1.246.60 with existing lease Address:       200.1.246.60</div><div>Valid life:    86400</div><div>T1:            0</div><div>T2:            0</div><div>Cltt:          1509711225</div><div>Hardware addr:</div><div>Client id:     (none)</div><div>Subnet ID:     11</div><div>State:         declined</div><div><br></div><div>2017-11-03 13:15:26.272 WARN  [kea-dhcp4.alloc-engine/31631] ALLOC_ENGINE_V4_ALLOC_FAIL [hwtype=1 f4:6d:04:0f:3f:b6], cid=[01:f4:6d:04:0f:3f:b6], tid=0xe1f27234: failed to allocate an IPv4 address after 6 attempt(s)</div><div><br></div><div>To resolve this I had to clear the lease from the lease4 table in the database. Can anyone shed some light on this? The user should have received its previously assigned address. Is there a config flag to allow this? I am using out-of-pool reservations.</div><div><br></div><div>Before deletion lease4 had the following column for this specific lease:</div><div><br></div><div>  address   |     hwaddr     |    client_id     | valid_lifetime |         expire         | subnet_id | fqdn_fwd | fqdn_rev |     hostname     | state |    ?column?<br></div><div> <span style="color:rgb(0,0,0);font-family:lucida,arial,sans-serif;font-size:12px">3355571772</span> | \x             | \x               |          86400 | 2017-11-04 13:13:45+01 |        11 | f        | f        |                  |     1 | 2001.1.246.60<br></div><div><br></div><div><br></div><div>Regards,</div><div>Mikael</div><div><br></div>-- <br><div class="gmail_signature">Hug a tree before you print this e-mail</div>
</div></div>