Page MenuHomeVyOS Platform

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

Description

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/configtree.py", 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

Details

Version
VyOS 1.3-rolling-202006202112
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po closed this task as Resolved.
c-po claimed this task.
c-po triaged this task as Urgent! priority.
c-po edited a custom field.
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: Global Notifications.