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)

Event Timeline

qiuchengxuan created this object in space S1 VyOS Public.
c-po claimed this task.Feb 4 2020, 6:11 PM
c-po added a comment.Feb 5 2020, 6:07 PM

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.
c-po added a comment.Feb 16 2020, 11:10 AM

Closing as no response and can not reproduce.

c-po closed this task as Invalid.Feb 16 2020, 11:10 AM
pasik added a subscriber: pasik.Feb 17 2020, 8:13 AM
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.Mar 1 2020, 10:37 AM