An unhandled exception appears when setting up WWAN interface with no modem present in the system
vyos@vyos# commit
[ interfaces wwan wwan0 ]
Traceback (most recent call last):
File "/usr/libexec/vyos/services/vyos-configd", line 157, in run_script
script.apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces_wwan.py", line 152, in apply
cmd(f'{base_cmd} --simple-disconnect')
File "/usr/lib/python3/dist-packages/vyos/utils/process.py", line 189, in cmd
raise OSError(code, feedback)
PermissionError: [Errno 1] failed to run command: None mmcli --modem 0 --simple-disconnect
returned:
exit code: 1
[[interfaces wwan wwan0]] failed
Commit failedActual error:
vyos@vyos# mmcli --modem 0 --simple-disconnect error: couldn't find modem
How to reproduce:
set interfaces wwan wwan0 address 'dhcp' set interfaces wwan wwan0 apn 'internet.telekom' commit