Page MenuHomeVyOS Platform

Pseudo-ethernet interface config disappears across versions
Closed, ResolvedPublicBUG


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 ''
set interfaces pseudo-ethernet peth1 link 'eth1'
set interfaces pseudo-ethernet peth1 mode 'private'

And just update to the latest rolling

add system images

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/", line 143, in <module>
    commit_out = session.commit()
  File "/usr/lib/python3/dist-packages/vyos/", line 156, in commit
    out = self.__run_command([COMMIT])
  File "/usr/lib/python3/dist-packages/vyos/", 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


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

c-po triaged this task as High priority.
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
erkin renamed this task from An issue with config migration (interface pseudo ethernet) to Pseudo-ethernet interface config disappears across versions.Aug 29 2021, 2:15 PM
erkin set Issue type to Bug (incorrect behavior).
erkin removed a subscriber: Active contributors.