Page MenuHomePhabricator

Interface can't unpin from bridge
Closed, ResolvedPublicBUG

Description

In latest rolling release
Unable unpin interface from bridge

sever@second# set interfaces bridge br0 member interface eth0
[edit]
sever@second# commit
[edit]
sever@second# 


sever@second# delete interfaces bridge br0 member interface eth0
[edit]
sever@second# commit
[ interfaces bridge br0 ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/interfaces-bridge.py", line 304, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/interfaces-bridge.py", line 267, in apply
    br.del_port( intf['name'] )
TypeError: string indices must be integers

[[interfaces bridge br0]] failed
Commit failed
[edit]
sever@second#
sever@second# run show version 
Version:          VyOS 1.2-rolling-201910310217
Built by:         autobuild@vyos.net
Built on:         Thu 31 Oct 2019 02:17 UTC
Build UUID:       c4db249c-1654-4c57-aacd-e815beceaed9
Build Commit ID:  ef8d9f1ef65538

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:    f3324af0-e207-4808-bbb5-03c92b57a505

Copyright:        VyOS maintainers and contributors
[edit]
sever@second#

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.2-rolling-201910310217
Why the issue appeared?
Design mistake
Is it a breaking change?
Perfectly compatible

Event Timeline

Dmitry added a subscriber: Dmitry.Fri, Nov 1, 9:41 AM
c-po claimed this task.Fri, Nov 1, 10:12 PM
c-po triaged this task as High priority.
c-po closed this task as Resolved.Sat, Nov 2, 3:58 AM
c-po edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
c-po changed Why the issue appeared? from Will be filled on close to Design mistake.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.