DHCP Lease information - .py Error

After static-mapping configuration on a subnet, i’ve got issue on the command line =

 show dhcp server leases
# Same with ' | match .xyz'

Traceback (most recent call last):
File “/usr/libexec/vyos/op_mode/dhcp.py”, line 273, in
res = vyos.opmode.run(sys.modules[name])
File “/usr/lib/python3/dist-packages/vyos/opmode.py”, line 206, in run
res = func(**args)
File “/usr/libexec/vyos/op_mode/dhcp.py”, line 245, in _wrapper
return func(*args, **kwargs)
File “/usr/libexec/vyos/op_mode/dhcp.py”, line 264, in show_server_leases
leases = _get_raw_server_leases(family)
File “/usr/libexec/vyos/op_mode/dhcp.py”, line 90, in _get_raw_server_leases
data_lease[‘end’] = lease.end.timestamp()

Version: VyOS 1.4-rolling-202212081631
Release train: current

Built by: autobuild@vyos.net
Built on: Thu 08 Dec 2022 16:31 UTC
Build UUID: 71553fc1-e5cf-477f-bd03-bde625e3c1cf
Build commit ID: 0451933c3898f6

Architecture: x86_64
Boot via: installed image
System type: VMware guest

Hardware vendor: VMware, Inc.
Hardware model: VMware Virtual Platform
Hardware S/N: VMware-42 18 8b 69 67 35 e5 43-22 c0 b7 7f dc 2a d2 14
Hardware UUID: 698b1842-3567-43e5-22c0-b77fdc2ad214

Copyright: VyOS maintainers and contributors

Update to the latest rolling release.
And the statically mapped leases are not showing anyway.
Third-party software restrictions

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.