If you create an OpenVPN interface with no local-address set you usually get the following
Must specify "local-address" or add interface to bridge
However if you add it to a bridge and do not set local-address as well then the following commit failure occurs
VyOS had an issue completing a command.
We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Make sure you are running the latest stable version of VyOS
the code is available at https://downloads.vyos.io/?dir=release/current
- Contact us using the online help desk
https://support.vyos.io/
- Join our community on slack where our users exchange help and advice
https://vyos.slack.com
When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your
business policy requires it)
- and include all the information presented below
Report Time: 2021-07-15 22:59:21
Image Version: VyOS 1.3-beta-202107121144
Release Train: equuleus
Built by: autobuild@vyos.net
Built on: Tue 13 Jul 2021 03:42 UTC
Build UUID: 1acfd1ce-c432-4fbf-9e9e-2933807e5e5f
Build Commit ID: 2ba1cbb93659bc
Architecture: x86_64
Boot via: installed image
System type: KVM guest
Hardware vendor: QEMU
Hardware model: Standard PC (Q35 + ICH9, 2009)
Hardware S/N:
Hardware UUID: Unknown
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-openvpn.py", line 511, in <module>
verify(c)
File "/usr/libexec/vyos/conf_mode/interfaces-openvpn.py", line 121, in verify
if len([addr for addr in openvpn['local_address'] if is_ipv4(addr)]) > 1:
KeyError: 'local_address'
[[interfaces openvpn vtun0]] failed
Commit failed