Page MenuHomeVyOS Platform

dns-forwarding migration script breaks with invalid interface name
Closed, ResolvedPublicBUG

Description

After commit https://github.com/vyos/vyos-1x/commit/bbea850ea5f8ff0402cd276ab63963ece7e0c763 when upgrading from 1.2.5 to current rolling release the following error is thrown on bootup:

Traceback (most recent call last):
  File "/opt/vyatta/etc/config-migrate/migrate/dns-forwarding/1-to-2", line 64, in <module>
    raise ValueError(f'Invalid interface name {intf}')
ValueError: Invalid interface name eth0 vif 202

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-202004170650
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)

Event Timeline

c-po triaged this task as Unbreak Now! priority.
c-po created this task.
c-po added a subscriber: thomas-mangin.
erkin renamed this task from dns-forwarding migrationscript broken to dns-forwarding migration script breaks with invalid interface name.Aug 30 2021, 6:50 AM
erkin set Issue type to Bug (incorrect behavior).
erkin removed a subscriber: Active contributors.