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 1684389 - [NMCI] default_route_for_vlan_over_team test failure
Summary: [NMCI] default_route_for_vlan_over_team test failure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libteam
Version: 8.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.2
Assignee: Xin Long
QA Contact: LiLiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-01 07:21 UTC by Vladimir Benes
Modified: 2023-06-10 08:51 UTC (History)
11 users (show)

Fixed In Version: libteam-1.29-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:46:39 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-23750 0 None None None 2023-06-10 08:51:52 UTC
Red Hat Product Errata RHBA-2020:1809 0 None None None 2020-04-28 16:46:44 UTC

Description Vladimir Benes 2019-03-01 07:21:53 UTC
Description of problem:
Sometimes I can see a test failure like this:



    * Add a new connection of type " team " and options " con-name vlan_team7 ifname team7 "
    * Add a new connection of type " team-slave " and options " con-name vlan_team7.0 ifname eth7 master team7 "
    * Add a new connection of type " vlan " and options " con-name vlan_team7.1 dev team7 id 1 mtu 1500 ipv4.method manual ipv4.addresses 192.168.168.16/24 ipv4.gateway 192.168.103.1 ipv6.method manual ipv6.addresses 2168::16/64 ipv4.dns 8.8.8.8 "
    * Bring " up " connection " vlan_team7 "
^^^ FAIL

Connection 'vlan_team7' (bbfcb76b-518d-4964-973a-e7982a0725cf) successfully added.
Connection 'vlan_team7.0' (4c9ceb0e-b274-48a1-9f46-85c71099901d) successfully added.

(process:23756): GLib-GIO-[1;33mWARNING[0m **: [34m12:34:29.692[0m: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/14 but no object proxy exists
Connection 'vlan_team7.1' (19f875cb-d27e-41de-9cd6-736060d6afdd) successfully added.
Error: Connection activation failed: teamd control failed
Hint: use 'journalctl -xe NM_CONNECTION=bbfcb76b-518d-4964-973a-e7982a0725cf + NM_DEVICE=team7' to get more details.


https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/beaker-NetworkManager-master-veth-rhel8-upstream/320/artifact/artifacts/FAIL_report_NetworkManager-ci_Test380_default_route_for_vlan_over_team.html


Version-Release number of selected component (if applicable):
1.17.0

How reproducible:
sometimes

Comment 1 Vladimir Benes 2019-04-10 11:18:33 UTC
The same issue being solved here for 7.7: https://bugzilla.redhat.com/show_bug.cgi?id=1680655

Comment 4 Vladimir Benes 2019-06-27 09:02:49 UTC
teamd_init() failed.
Failed: Cannot allocate memory
<debug> [1561482210.2741] device[0x559d56486140] (team7): teamd 13852 died with status 256

Comment 5 Beniamino Galvani 2019-06-27 09:07:36 UTC
Log excerpt:

 <debug> [1561482210.3605] device[0x559d56486140] (team7): running: /usr/bin/teamd -o -n -U -D -N -t team7 -gg
 <info>  [1561482210.3630] device (team7): Activation: (team) started teamd [pid 13880]...
 Added loop callback: daemon, 0x555b64a89ce0
 Using team device "team7".
 Using PID file "/var/run/teamd/team7.pid"
 This program is not intended to be run as root.
 <debug> [1561482210.3631] device[0x559d56486140] (team7): activation-stage: complete activate_stage1_device_prepare,v4 (id 1143)
 Added loop callback: libteam_events, 0x555b64a89ce0
 Added loop callback: workq, 0x555b64a89ce0
 Failed to get team runner name from config.
 Using default team runner "roundrobin".
 Failed to set team mode "roundrobin".
 Failed to init runner.
 Removed loop callback: workq, 0x555b64a89ce0
 Removed loop callback: libteam_events, 0x555b64a89ce0
 Removed loop callback: daemon, 0x555b64a89ce0
 teamd_init() failed.
 Failed: Cannot allocate memory

also discussed in https://bugzilla.redhat.com/show_bug.cgi?id=1680655#c4 .

Reassigning to libteam.

Comment 6 Hangbin Liu 2019-06-28 09:18:07 UTC
FYI, Beniamino's patch has been applied by upstream

commit 5c5e498bff93acec9bdc3b2e3ab5759a97096c50
Author: Beniamino Galvani <bgalvani>
Date:   Tue May 28 10:02:45 2019 +0200

    libteam: set netlink event socket as non-blocking

Comment 17 LiLiang 2020-01-10 06:48:32 UTC
Vladimir,

With below script wrote by myself,i can't reproduce this bz,can you give me your reproducer?

```
slave1=enp129s0f0np0
slave2=enp129s0f1np1
while :
do
#nmcli con add con-name team0 type team ifname team0 ipv4.method manual ipv4.addr 192.168.1.18/24 connection.autoconnect yes
nmcli con add con-name team0 type team ifname team0
nmcli con add type ethernet con-name $slave1 ifname $slave1 master team0 slave-type team
nmcli con add type ethernet con-name $slave2 ifname $slave2 master team0 slave-type team
nmcli con add type vlan con-name vlan_team0 dev team0 id 3 mtu 1500 ipv4.method manual ipv4.addresses 192.168.3.18/24 ipv4.gateway 192.168.3.1 ipv6.method manual ipv6.addresses 2168::16/64 ipv4.dns 8.8.8.8
nmcli con up team0 || break
nmcli con up $slave1 || break
nmcli con up $slave2 || break
nmcli con up vlan_team0 || break

nmcli con del vlan_team0
nmcli con del $slave1
nmcli con del $slave2
nmcli con del team0
done
```

Liang.

Comment 18 LiLiang 2020-01-13 04:23:44 UTC
I guess Vladimir found this issue on rhel7 initially. 
He said in comment #1 this is the same issue with bz #1680655.

Because he said in comment #0 the NetworkManager version he used is 1.17.0. But 1.17.0 is a el7 version,not a el8 version.
So maybe Vladimir didn't try to reproduce this issue on rhel8? And he also didn't provide a reproducer for rhel8.

So i think i can use the reproducer described in https://bugzilla.redhat.com/show_bug.cgi?id=1680655#c38 to verify this bz.

And use this reproducer,i can't reproduce this issue on new versions.

while nmcli con add type team  con-name team0 autoconnect no ifname nm-team && nmcli con add type bridge con-name team_br autoconnect no ifname brA ip4 192.168.177.100/24 gw4 192.168.177.1 && nmcli con modify id team0 connection.master brA connection.slave-type bridge && nmcli con up team0 && nmcli con del team0 team_br ;  do :;done

[root@dell-per730-14 ~]# rpm -q libteam
libteam-1.29-1.el8.x86_64
[root@dell-per730-14 ~]# rpm -q NetworkManager
NetworkManager-1.22.0-2.el8.x86_64

set verified.

Comment 21 errata-xmlrpc 2020-04-28 16:46:39 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-2020:1809


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