Page MenuHomeVyOS Platform

Serial Console: fix migration script for configured powersave and no console
Closed, ResolvedPublicFEATURE REQUEST


When the 'powersave' option under 'system console' was defined but no actual serial console device this cause the following error during migration:

Loading configuration from 'config.boot'
Traceback (most recent call last):
  File "/opt/vyatta/etc/config-migrate/migrate/system/16-to-17", line 45, in <module>
    for device in config.list_nodes(base + ['device']):
  File "/usr/lib/python3/dist-packages/vyos/", line 236, in list_nodes
    raise ConfigTreeError("Path [{}] doesn't exist".format(path_str))
vyos.configtree.ConfigTreeError: Path [b'system console device'] doesn't exist


Difficulty level
Easy (less than an hour)
VyOS 1.3-rolling-202006202112
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po claimed this task.
c-po triaged this task as Unbreak Now! priority.
c-po created this task.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Version from - to VyOS 1.3-rolling-202006202112.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 2:14 PM
erkin removed a subscriber: Active contributors.