Page MenuHomeVyOS Platform

Interface config migration error on 1.2.8 -> 1.4 upgrade
Closed, ResolvedPublicBUG

Description

Migrating 1.2.8 -> 1.4-rolling-202201110811

[   68.544662] vyos-router[970]: Waiting for NICs to settle down: settled in 0sec..
[   83.994102] vyos-router[1085]: Started watchfrr.
[   97.617578] vyos-router[970]: Mounting VyOS Config...done.
[  104.205483] vyos-router[970]: Starting VyOS router: migrate
[  104.214978] vyos-router[1490]: Traceback (most recent call last):
[  104.224561] vyos-router[1490]:   File "/opt/vyatta/etc/config-migrate/migrate/interfaces/5-to-6", line 112, in <module>
[  104.238783] vyos-router[1490]:     for if_type in config.list_nodes(['interfaces']):
[  104.249566] vyos-router[1490]:   File "/usr/lib/python3/dist-packages/vyos/configtree.py", line 236, in list_nodes
[  104.263399] vyos-router[1490]:     raise ConfigTreeError("Path [{}] doesn't exist".format(path_str))
[  104.275543] vyos-router[1490]: vyos.configtree.ConfigTreeError: Path [b'interfaces'] doesn't exist
[  104.288936] vyos-router[1455]: Migration script error: /opt/vyatta/etc/config-migrate/migrate/interfaces/5-to-6: Command '['/opt/vyatta/etc/config-migrate/migrate/interfaces/5-to-6', '/opt/vyatta/etc/config/config.boot']' returned non-zero exit status 1..
[  114.557902] vyos-router[970]:  configure.
[  115.057616] vyos-config[979]: Configuration success

Details

Difficulty level
Normal (likely a few hours)
Version
1.4-rolling-202201110811
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)