Page MenuHomeVyOS Platform

An issue with config migration (system ntp server)
Closed, ResolvedPublicBUG


When we don't have configured NTP in CLI (1.1.8), we receive config migration error

[   24.395249] vyos-router[902]: Starting VyOS router: migrateTraceback (most recent call last):
[   24.406371] vyos-router[902]: File "/opt/vyatta/etc/config-migrate/migrate/ntp/0-to-1", line 27, in <module>
[   24.418339] vyos-router[902]: for server in config.list_nodes(base):
[   24.430329] vyos-router[902]: File "/usr/lib/python3/dist-packages/vyos/", line 232, in list_nodes
[   24.442299] vyos-router[902]: raise ConfigTreeError("Path [{}] doesn't exist".format(path_str))
[   24.454305] vyos-router[902]: vyos.configtree.ConfigTreeError: Path [b'system ntp server'] doesn't exist


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

Event Timeline

This happens only when in config before migration exists nodes system 'ntp' without other params.

Viacheslav changed the task status from Open to In progress.May 13 2021, 7:12 PM
Viacheslav claimed this task.

Can be "cherry-picked" to "equuleus" and "crux"

[email protected]# load ntp.conf
Loading configuration from 'ntp.conf'
Load complete. Use 'commit' to make changes effective.
[email protected]#
c-po moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.8) board.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.