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 1085938 - teamd: fix port remove by ctl (teamdctl) when take-over is on
Summary: teamd: fix port remove by ctl (teamdctl) when take-over is on
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libteam
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Jiri Pirko
QA Contact: Zhenjie Chen
URL:
Whiteboard:
: 1125292 (view as bug list)
Depends On: 1116970
Blocks: 1090087
TreeView+ depends on / blocked
 
Reported: 2014-04-09 16:52 UTC by Jiri Pirko
Modified: 2016-08-15 22:52 UTC (History)
9 users (show)

Fixed In Version: libteam-1.11-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 08:16:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0332 0 normal SHIPPED_LIVE libteam bug fix and enhancement update 2015-03-05 12:28:06 UTC

Description Jiri Pirko 2014-04-09 16:52:19 UTC
Description of problem:

There is a regression caused by upstream commit:
a3cf54617487a05dc1666a856deace46f9c2df5a
It causes that when using take-over mode, there is impossible to remove a port using ctl iface (teamdctl for example).

Version-Release number of selected component (if applicable):
libteam-1.9-15.el7

How reproducible:
always

Steps to Reproduce:
1. teamd -d -t team0
2. teamdctl team0 p a ens7
3. teamdctl team0 p d ens7

Actual results:
ip link shows "master team0" for ens7"

Expected results:
ip link does not show "master team0" for ens7"

Additional info:
NA

Comment 1 Jiri Pirko 2014-04-09 16:55:38 UTC
The mentioned commit also introduces possible use after free situation. Fix it in this bz as well.

Comment 8 Jiri Pirko 2014-07-31 15:02:36 UTC
*** Bug 1125292 has been marked as a duplicate of this bug. ***

Comment 10 Zhenjie Chen 2014-11-25 03:12:01 UTC
Verified on libteam-1.14-1.el7.x86_64

[root@hp-dl388g8-14 ~]# rpm -q libteam
libteam-1.14-1.el7.x86_64

[root@hp-dl388g8-14 ~]# teamd -d -t team0
[root@hp-dl388g8-14 ~]# teamdctl team0 port add ens1f2
[root@hp-dl388g8-14 ~]# ip link show ens1f2
4: ens1f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master team0 state UP mode DEFAULT qlen 1000
    link/ether 00:1b:21:85:84:02 brd ff:ff:ff:ff:ff:ff
[root@hp-dl388g8-14 ~]# teamdctl team0 port remove ens1f2
[root@hp-dl388g8-14 ~]# ip link show ens1f2
4: ens1f2: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
    link/ether 00:1b:21:85:84:02 brd ff:ff:ff:ff:ff:ff

Comment 12 errata-xmlrpc 2015-03-05 08:16:19 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://rhn.redhat.com/errata/RHBA-2015-0332.html


Note You need to log in before you can comment on or make changes to this bug.