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

Difficulty level
Unknown (require assessment)
Version
1.5-rolling-202403040023.
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

JeffWDH updated the task description. (Show Details)
sarthurdev changed the task status from Open to In progress.Mar 6 2024, 9:30 PM
sarthurdev triaged this task as Normal priority.
sarthurdev moved this task from Need Triage to In Progress on the VyOS 1.5 Circinus board.
sarthurdev moved this task from In Progress to Finished on the VyOS 1.5 Circinus board.