Page MenuHomePhabricator

l2tp / ipsec config broken in latest daily
Closed, ResolvedPublicBUG

Description

Somewhere between 1.3-rolling-201912041619 and 1.3-rolling-201912260217 ipsec config loading code was broken:

# cat vyatta-commit.log
[ vpn ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/ipsec-settings.py", line 269, in <module>
    generate(c)
  File "/usr/libexec/vyos/conf_mode/ipsec-settings.py", line 241, in generate
    write_ipsec_ra_conn(data)
  File "/usr/libexec/vyos/conf_mode/ipsec-settings.py", line 162, in write_ipsec_ra_conn
    open(ipsec_ra_conn_file,'w').write(ipsec_ra_conn_txt)
FileNotFoundError: [Errno 2] No such file or directory: '/etc/ipsec.d/tunnels/remote-access'

[[vpn]] failed
Commit failed
mkdir /etc/ipsec.d/tunnels

solves the problem (it's a stupid l2tp server config).

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-201912260217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

primoz created this task.Dec 29 2019, 10:52 AM
Dmitry claimed this task.Dec 29 2019, 6:50 PM
Dmitry changed the task status from Open to Needs testing.Dec 29 2019, 7:05 PM
pasik added a subscriber: pasik.Dec 29 2019, 9:50 PM
kroy changed the status of subtask T1897: IPSec - 1.2 to 1.3 migration failed from Open to Needs testing.Dec 30 2019, 5:12 PM
Dmitry closed this task as Resolved.Dec 30 2019, 10:12 PM
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.Sun, Feb 9, 2:16 PM