Page MenuHomeVyOS Platform

Cannot recover from failed boot config load
Open, Unbreak Now!Public

Description

If boot commit fails, the standard procedure of debugging (configure; load; commit) doesn't work.

vyos@vyos# load
Traceback (most recent call last):
  File "/usr/libexec/vyos/vyos-load-config.py", line 62, in <module>
    config = LoadConfig()
  File "/usr/lib/python3/dist-packages/vyos/config.py", line 103, in __init__
    running_config_text = self._run([self._cli_shell_api, '--show-active-only', '--show-show-defaults', '--show-ignore-edit', 'showConfig'])
  File "/usr/lib/python3/dist-packages/vyos/config.py", line 148, in _run
    raise VyOSError()
vyos.config.VyOSError
[edit]
vyos@vyos# run show version 
Version:          VyOS 1.3-rolling-202005221529
Release Train:    equuleus

Built by:         autobuild@vyos.net
Built on:         Fri 22 May 2020 15:29 UTC
Build UUID:       5935041c-a662-413d-a4be-1924a7a70bd6
Build Commit ID:  a29347ca9dd260

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-202005221529
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

jjakob triaged this task as Unbreak Now! priority.Sat, May 23, 2:43 PM
jjakob created this task.
jjakob created this object in space S1 VyOS Public.
jestabro claimed this task.Sat, May 23, 9:50 PM

The called code can return 3 - in that case in that case _run should return an empty string

pasik added a subscriber: pasik.Sun, May 24, 2:46 PM