Page MenuHomeVyOS Platform

show openvpn site-to-site result in error when disabled openvpn interface exists
Closed, InvalidPublic

Description

vyos@digitland:~$ show openvpn site-to-site
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/show_openvpn.py", line 152, in <module>
    data = get_status(args.mode, intf)
  File "/usr/libexec/vyos/op_mode/show_openvpn.py", line 66, in get_status
    with open(status_file, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/vyatta/etc/openvpn/status/vtun0.status'
vyos@digitland# show interfaces openvpn vtun0
 disable
 ...

Details

Difficulty level
Unknown (require assessment)
Version
1.3 rolling
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

VyOS 1.3-rolling-202002050217 Does not show this behavior - when no OpenVPN interface is defined you will get:

vyos@vyos:~$ show openvpn site-to-site
No OpenVPN interfaces configured

If you still see this behavior shre your config please.

c-po triaged this task as Normal priority.Feb 5 2020, 6:08 PM
c-po added a project: VyOS 1.3 Equuleus.

Closing as no response and can not reproduce.

erkin set Issue type to Bug (incorrect behavior).Aug 31 2021, 5:45 PM