Page MenuHomeVyOS Platform

vrf: RTNETLINK answers: File exists
Closed, ResolvedPublicBUG

Description

When adding the first VRf to the system, a conntrack helper is installed.

https://github.com/vyos/vyos-1x/blob/10701108fecb36f7be7eb7ef5f1e54e63da5fb4e/src/conf_mode/vrf.py#L235

set vrf name foo table 1000
commit

Adding a second VRF triggers this "error" or unclean message to the user

set vrf name bar table 2000
commit

RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists

Side effect on first commit: sysctl: cannot stat /proc/sys/net/vrf/strict_mode: No such file or directory this is because the VRF kernel module was yet not loaded.

Details

Difficulty level
Normal (likely a few hours)
Version
1.4.0-rc1
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po created this task.
c-po added a project: VyOS 1.5 Circinus.
c-po changed Issue type from Cosmetic issue (typos etc.) to Bug (incorrect behavior).
Viacheslav triaged this task as Normal priority.Jan 22 2024, 1:54 PM
c-po moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.