Page MenuHomeVyOS Platform

set interface ethN vif-s nnnn does not commit
Closed, ResolvedPublicBUG


vyos@vyos# set interfaces ethernet eth1 vif-s 1234
vyos@vyos# compare 
[edit interfaces ethernet eth1]
+vif-s 1234 {
vyos@vyos# commit
[ interfaces ethernet eth1 ]
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): ...

Report Time:      2020-06-05 14:44:44
Image Version:    VyOS 1.3-rolling-202006050621
Release Train:    equuleus

Built by:
Built on:         Fri 05 Jun 2020 06:21 UTC
Build UUID:       818b86dd-823a-4c2d-b65b-3deffeebd209
Build Commit ID:  72220ba6e64805

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:    444b1703-a0f8-49ce-94c9-36c24baa3385

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/", line 314, in <module>
  File "/usr/libexec/vyos/conf_mode/", line 305, in apply
    apply_all_vlans(e, eth)
  File "/usr/lib/python3/dist-packages/vyos/", line 37, in apply_all_vlans
    for vif_c in intfconfig['vif_c_remove']:
KeyError: 'vif_c_remove'

cmd '/sbin/ethtool -K eth1 ufo off'
returned (out):

returned (err):
Cannot change udp-fragmentation-offload

[[interfaces ethernet eth1]] failed
Commit failed


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

jjakob changed the task status from Open to In progress.Jun 5 2020, 3:28 PM
jjakob claimed this task.
jjakob triaged this task as High priority.
jjakob moved this task from Need Triage to In Progress on the VyOS 1.3 Equuleus board.

Please test with the latest 1.3 rolling image if the bug is now fixed.

jjakob changed the task status from In progress to Needs testing.Jun 6 2020, 2:14 PM

Successfully able to create the vif-s 1234 per the above example without any issues on VyOS 1.3-rolling-202006070117:

vyos@VyosOverseas# set interfaces ethernet eth5 vif-s 1234 [edit]
vyos@VyosOverseas# compare
[edit interfaces ethernet eth5]
+vif-s 1234 {
vyos@VyosOverseas# commit

Deleted without any issues as well. Believe this bug can be marked as fixed.

jjakob moved this task from In Progress to Finished on the VyOS 1.3 Equuleus board.
erkin renamed this task from Regression: set interface ethN vif-s nnnn does not commit on 1.3-rolling-202006050621 to set interface ethN vif-s nnnn does not commit.Aug 30 2021, 5:45 AM
erkin set Issue type to Bug (incorrect behavior).