Bug 1738543
| Summary: | Team interface disappears after up+down | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Yuri Plotnikov <Yurij.Plotnikov> |
| Component: | libteam | Assignee: | Xin Long <lxin> |
| Status: | CLOSED DUPLICATE | QA Contact: | LiLiang <liali> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | alexandra.kossovsky, bgalvani, network-qe |
| Target Milestone: | rc | ||
| Target Release: | 8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-09-20 12:26:32 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: | |||
Can you stop NM (# systemctl stop NetworkManager) and try? Thanks. With stopped NM there is no such problem, 'sudo ip li' shows bond0 interface after 'sudo ip li set bond0 down'. I can add 2 points to Yurij'd report (I'm talking about the same machines!): 1. cat /etc/sysconfig/network-scripts/ifcfg-bond0 NAME=bond0 NM_CONTROLLED=no 2. If we use bonding, then "ip li set bond0 down" does not remove the interface; it brings the interface down. If we use teaming, then the interface is completely removed when we bring it down on RHEL8. Hi, this is a duplicate of bug 1693142, which is fixed upstream in NetworkManager. The fix will be in RHEL 8.1. *** This bug has been marked as a duplicate of bug 1693142 *** |
Description of problem: After performing "sudo ip li set bond0 down" on team interface it disappears, 'sudo ip li' doesn't show it. Version-Release number of selected component (if applicable): libteam version: 1.27-10.el8 How reproducible: eno2 is some NIC on the RHEL8 host: $ sudo ethtool -i eno2 driver: tg3 version: 3.137 firmware-version: FFV7.10.0 bc 5720-v1.36 expansion-rom-version: bus-info: 0000:03:00.1 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: no The following steps lead to the described problem: $ sudo /usr/bin/teamd -t bond0 -d -g -c '{"device":"bond0", "runner":{"name":"activebackup"}}' Using team device "bond0". Using PID file "/var/run/teamd/bond0.pid" This program is not intended to be run as root. // 'sudo ip li' now shows bond0 interface $ sudo ip li set bond0 up $ sudo /usr/bin/teamdctl bond0 port add eno2 $ sudo ip li set bond0 down // And now bond0 disappears, 'sudo ip li' doesn't show it // 'sudo ip li set bond0 up' returns 'Cannot find device "bond0"' Expected results: On RHEL7 team interface can be set down without deleting, and further 'sudo ip li set bond0 up' works without problems.