Page MenuHomeVyOS Platform

Clear dhcp-server lease throws python exception on 1.5-rolling
Closed, ResolvedPublicBUG

Description

First reported by einsibjarni here: https://forum.vyos.io/t/clear-dhcp-server-lease-throws-python-exception-on-1-5-rolling/13939

In their case, they tested on 1.5-rolling-202403040023.

Can confirm it was also not working since at least 1.5-rolling-202402050024 (last time I updated).

admin@Vyos:~$ show version |grep rolling
Version:          VyOS 1.5-rolling-202402050024

admin@Vyos:~$ clear dhcp-server lease x.x.x.x
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)
admin@Vyos:~$

Details

Version
1.5-rolling-202403040023.
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)