UPD:
Re-tested in 2025.11.18-0020-rolling
Since this commit behaviour is different - no traceback produced but a commit failed message:
vyos@vyos# comp [firewall zone LOCAL] - local-zone [edit] vyos@vyos# commit [ firewall ] Zone "LOCAL" has no interfaces and is not the local zone [[firewall]] failed Commit failed [edit] vyos@vyos# comp [firewall zone LOCAL] - local-zone [edit]
An attempt to commit the subject changes results in the following error:
Traceback (most recent call last):
File "/usr/libexec/vyos/services/vyos-configd", line 144, in run_script
c = script.get_config(config)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/libexec/vyos/conf_mode/firewall.py", line 148, in get_config
if 'vrf' in local_zone_conf['member']:
~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'member'
[[firewall]] failed
Commit failedSteps to reproduce:
set firewall zone LOCAL local-zone commit delete firewall zone LOCAL local-zone commit