dhcp2kea fails with small lease file.
I am playing around with Kea and migrating my home isc-dhcp server to kea. I was trying to migrate the small lease file (40k) and I got the following error.
python3 dhcp2kea.py "subnet_id=1" /var/lib/dhcp/dhcpd.leases
Traceback (most recent call last):
File "/home/pbulteel/keama-leases/dhcp2kea/dhcp2kea.py", line 329, in <module>
print(leases,file=f) # writing
File "/home/pbulteel/keama-leases/dhcp2kea/dhcp2kea.py", line 105, in __str__
, v["hardware ethernet"] # hwaddr
KeyError: 'hardware ethernet'
At some point, I might test this on our production lease file which is 1.7G.