Page MenuHomeVyOS Platform

delete pseudo-ethernet failed
Closed, ResolvedPublicBUG


vyos@vyos# delete interfaces pseudo-ethernet
vyos@vyos# commit
[ interfaces pseudo-ethernet peth0 ]
VyOS had an issue completing a command.

We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):

When reporting problems, please include as much information as possible:

  • do not obfuscate any data (feel free to contact us privately if your business policy requires it)
  • and include all the information presented below

Report Time: 2020-06-12 13:39:06
Image Version: VyOS 1.3-rolling-202005100117
Release Train: equuleus

Built by:
Built on: Sun 10 May 2020 01:17 UTC
Build UUID: aa1e03bc-7360-40b3-a58c-cdae46958353
Build Commit ID: 2cb6f390d7bdaa

Architecture: x86_64
Boot via: installed image
System type: KVM guest

Hardware vendor: innotek GmbH
Hardware model: VirtualBox
Hardware S/N: 0
Hardware UUID: 7d466e91-ab73-4ad5-a87e-29dfcd8f5c02

Traceback (most recent call last):

File "/usr/libexec/vyos/conf_mode/", line 266, in <module>
File "/usr/libexec/vyos/conf_mode/", line 155, in apply
File "/usr/lib/python3/dist-packages/vyos/ifconfig/", line 76, in remove
File "/usr/lib/python3/dist-packages/vyos/ifconfig/", line 248, in remove
File "/usr/lib/python3/dist-packages/vyos/ifconfig/", line 721, in flush_addrs
  self._cmd(f'ip addr flush dev "{self.ifname}"')
File "/usr/lib/python3/dist-packages/vyos/ifconfig/", line 48, in _cmd
  return cmd(command, self.debug)
File "/usr/lib/python3/dist-packages/vyos/", line 155, in cmd
  raise OSError(code, feedback)

PermissionError: [Errno 1] failed to run command: ip addr flush dev ""
exit code: 1

cmd 'ip addr flush dev ""'
returned (out):

returned (err):
Device "" does not exist.

delete [ interfaces pseudo-ethernet peth0 ] failed
Commit failed


Difficulty level
Easy (less than an hour)
VyOS 1.3-rolling-202005100117
Why the issue appeared?
Design mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po changed Difficulty level from Normal (likely a few hours) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Design mistake.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.

Added a basic test so this issue does not re-appear on ISO build

erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 5:32 AM
erkin removed a subscriber: Active contributors.