I found a non-critical (mostly cosmetic) bug in VyOS 1.2.0 RC9, which occurs when an interface is configure to use DHCP and then is re-configured with a static IP.
Steps to reproduce:
Clear old config:
delete interfaces ethernet eth0 address
Enable DHCP on interface:
set interfaces ethernet eth0 address dhcp commit
Reconfigure to static IP:
set interfaces ethernet eth0 address 192.168.139.5/24 delete interfaces ethernet eth0 address dhcp commit
Resulting error message:
Traceback (most recent call last): File "/usr/libexec/vyos/system/normalize-ip", line 32, in <module> address_string, prefix_length = re.match(r'(.+)/(.+)', sys.argv).groups() AttributeError: 'NoneType' object has no attribute 'groups'
The problem here is that the regular expression is applied to the "dhcp" string, which fails for obvious reasons.