Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1505776

Summary: [ovs]Can't delete tunnel system interface when delete ovs bridge directly
Product: Red Hat Enterprise Linux 7 Reporter: Junhan <juyan>
Component: openvswitchAssignee: Timothy Redaelli <tredaelli>
Status: CLOSED ERRATA QA Contact: ovs-qe
Severity: medium Docs Contact:
Priority: medium    
Version: 7.5CC: aloughla, atragler, ctrautma, egarver, fleitner, ovs-team, pvauter, sukulkar, tredaelli
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch-2.9.0-1.el7fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-19 10:22:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1475436    

Description Junhan 2017-10-24 09:33:16 UTC
Description of problem:
When there is only one bridge,create tunnel in the bridge, then delete the bridge directly. the system tunnel interface still in.

Cause of only one bridge, backer->refcount values 1, when delete bridge "close_dpif_backer" will delete the backer, so type_run will return directly, doesn't delete the interface.

How reproducible:
always

Steps to Reproduce:
1.ovs-vsctl add-br ovsbr0
2.ovs-vsctl add-port ovsbr0 vxlan0 -- set interface vxlan0 type=vxlan option:remote_ip=11.11.11.0
3.ovs-vsctl del-br ovsbr0
4.ifconfig
Actual results:
can't delete vxlan_sys_4789

Expected results:
vxlan_sys_4789 is deleted.

Additional info:

Comment 6 Junhan 2017-10-30 02:03:18 UTC
This appears after ovs 2.8.0, when create ovs tunnel with rtnetlink.

Comment 11 Junhan 2018-02-23 07:39:37 UTC
Verified this bug in ovs 2.9.0-1.el7fdp, the vxlan_sys_4789 disappeared when deleted the ovs bridge directly. The bug has been fixed.

Comment 15 errata-xmlrpc 2018-03-19 10:22:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0550