Page MenuHomeVyOS Platform

Exception when configuring unavailable ethernet interface
Closed, ResolvedPublicBUG


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):
- Make sure you are running the latest version of the code available at
- Consult the forum to see how to handle this issue
- Join our community on slack where our users exchange help and advice

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-08-01 08:39:48
Image Version:    VyOS 1.3-rolling-202007300117
Release Train:    equuleus

Built by:
Built on:         Thu 30 Jul 2020 01:18 UTC
Build UUID:       e88082fc-8564-4571-8aba-94210d4c32ad
Build Commit ID:  09eedb0dccf687

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

Hardware vendor:  QEMU
Hardware model:   Standard PC (i440FX + PIIX, 1996)
Hardware S/N:     
Hardware UUID:    22ea4e2a-4560-4efd-bd48-3422cb958952

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/", line 84, in <module>
  File "/usr/libexec/vyos/conf_mode/", line 47, in verify
  File "/usr/lib/python3/dist-packages/vyos/", line 72, in verify_interface_exists
    raise ConfigError(f'Interface "{ifname}" does not exist!'
NameError: name 'ifname' is not defined


Difficulty level
Easy (less than an hour)
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 changed the task status from Open to In progress.Aug 1 2020, 8:41 AM
c-po claimed this task.
c-po created this task.
erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 1:36 PM
erkin removed a subscriber: Active contributors.