Page MenuHomeVyOS Platform

openconnect: KeyError: 'local_users'
Closed, ResolvedPublicBUG

Description

To reproduce:

set vpn openconnect authentication mode local
commit
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/vpn_openconnect.py", line 147, in <module>
    verify(c)
  File "/usr/libexec/vyos/conf_mode/vpn_openconnect.py", line 64, in verify
    if not ocserv["authentication"]["local_users"] or not ocserv["authentication"]["local_users"]["username"]:
KeyError: 'local_users'

Details

Version
1.3-rolling-202208151448
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)

Event Timeline

c-po claimed this task.
c-po triaged this task as Normal priority.
c-po edited projects, added VyOS 1.3 Equuleus (1.3.3); removed VyOS 1.3 Equuleus.
c-po edited a custom field.
c-po edited a custom field.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Stricter validation.
c-po changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus (1.3.2) board.