Page MenuHomeVyOS Platform

Unexpected print of dict bridge on delete
Closed, ResolvedPublicBUG

Description

To reproduce add bridge member X to the bride and delete member interface

set interfaces bridge br94 address '10.1.4.1/24'
set interfaces bridge br94 ip disable-arp-filter
set interfaces bridge br94 member interface eth1
set interfaces bridge br94 member interface vtun94
set interfaces openvpn vtun94 device-type 'tap'
set interfaces openvpn vtun94 local-host '203.0.113.1'
set interfaces openvpn vtun94 mode 'server'
set interfaces openvpn vtun94 tls ca-certificate 'openvpn_vtun94'
set interfaces openvpn vtun94 tls certificate 'openvpn_vtun94'
set interfaces openvpn vtun94 tls dh-params 'openvpn_vtun94'

Delete interface OpenVPN:

vyos@r11-roll# commit
[ interfaces openvpn vtun94 ]
Interface "vtun94" cannot be deleted as it is a member of bridge
"{'br94': {}}"!

delete [ interfaces openvpn vtun94 ] failed
Commit failed
[edit]

"{'br94': {}}"! <= unexpected output

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.4-rolling-202202020317
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Cosmetic issue (typos etc.)

Related Objects

Mentioned In
1.3.3
1.3.1

Event Timeline

c-po changed the task status from Open to In progress.Feb 17 2022, 8:12 PM
c-po closed this task as Resolved.
c-po claimed this task.
c-po triaged this task as Normal priority.
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po changed Issue type from Bug (incorrect behavior) to Cosmetic issue (typos etc.).
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus ( 1.3.1) board.
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.