Clear dhcp-server lease throws python exception on 1.5-rolling

Running 1.5-rolling-202403040023.
I have a problem with static dhcp mappings not working, and when I try to fix the problem by clearing the non-static lease I get this

$  clear dhcp-server lease 192.168.1.136
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/clear_dhcp_lease.py", line 22, in <module>
    from vyos.kea import kea_parse_leases
ImportError: cannot import name 'kea_parse_leases' from 'vyos.kea' (/usr/lib/python3/dist-packages/vyos/kea.py)

Can confirm, this also is an issue on VyOS 1.5-rolling-202402050024.

Created a bug report here: ⚓ T6102 Clear dhcp-server lease throws python exception on 1.5-rolling

1 Like