Page MenuHomeVyOS Platform

Openconnect cannot pass migration 1-to-2
Closed, ResolvedPublicBUG

Description

Openconnect authentication mode cannot pass the config-test and migration openconnecet-1-2-migration

root@r14:/home/vyos# /opt/vyatta/etc/config-migrate/migrate/openconnect/1-to-2 tmp.txt 
Traceback (most recent call last):
  File "/opt/vyatta/etc/config-migrate/migrate/openconnect/1-to-2", line 47, in <module>
    config.delete(cfg_base + ['authentication', 'mode', 'local'])
  File "/usr/lib/python3/dist-packages/vyos/configtree.py", line 206, in delete
    raise ConfigTreeError(f"Path doesn't exist: {path}")
vyos.configtree.ConfigTreeError: Path doesn't exist: ['vpn', 'openconnect', 'authentication', 'mode', 'local']
root@r14:/home/vyos#

Possible this issue starts after this commit

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4-rolling-202306050317
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)