Page MenuHomeVyOS Platform

An issue with config migration (interface pseudo ethernet)
Closed, ResolvedPublicBUG

Description

When updating from VyOS 1.2.5 to 1.3 latest rolling (1.3-rolling-202006210117), interface configuration peth disappeared.
Reproducing steps:

set interfaces pseudo-ethernet peth1 address '172.16.0.1/24'
set interfaces pseudo-ethernet peth1 link 'eth1'
set interfaces pseudo-ethernet peth1 mode 'private'
commit

And just update to the latest rolling

add system images https://downloads.vyos.io/rolling/current/amd64/vyos-rolling-latest.iso

After reboot pethX will be deleted from active configuration but keeps in /config/config.boot

vyos@vyos:~$ cat /tmp/boot-config-trace
Traceback (most recent call last):
  File "/usr/libexec/vyos/vyos-boot-config-loader.py", line 143, in <module>
    commit_out = session.commit()
  File "/usr/lib/python3/dist-packages/vyos/configsession.py", line 156, in commit
    out = self.__run_command([COMMIT])
  File "/usr/lib/python3/dist-packages/vyos/configsession.py", line 128, in __run_command
    raise ConfigSessionError(output)
vyos.configsession.ConfigSessionError: [ interfaces pseudo-ethernet peth1 ]
Link device must be set for pseudo-ethernet "peth1"

[[interfaces pseudo-ethernet peth1]] failed
Commit failed

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-202006210117
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

Dmitry created this task.Sun, Jun 21, 7:05 AM
Dmitry updated the task description. (Show Details)Sun, Jun 21, 7:09 AM
c-po claimed this task.Fri, Jun 26, 1:31 PM
c-po closed this task as Resolved.Fri, Jun 26, 4:31 PM
c-po triaged this task as High priority.
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.