Bug 1867990

Summary: Bond mode change deactivates the profile and in some cases removes the parent VLAN
Product: Red Hat Enterprise Linux 8 Reporter: Michael Burman <mburman>
Component: nmstateAssignee: Gris Ge <fge>
Status: CLOSED ERRATA QA Contact: Mingyu Shi <mshi>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.3CC: amusil, dholler, ferferna, jiji, jishi, network-qe, till
Target Milestone: rcKeywords: Triaged
Target Release: 8.4   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:17:12 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:
Attachments:
Description Flags
Reproducer
none
verification none

Description Michael Burman 2020-08-11 10:47:38 UTC
Description of problem:
Bond mode change deactivates the profile and in some cases removes the parent VLAN

Version-Release number of selected component (if applicable):
nmstate-0.3.4-10.el8.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create bond mode 4 or 1 and attach vlan tagged bridge to it
2. Set static ip on the bridge
3. Change the bond's mode to 1 or 4

Actual results:
vlan device is become unamanaged and bridge removed from the bond

Expected results:
bond mode change shouldn't deactivate the profile and should keep the parent vlan

Comment 1 Ales Musil 2020-08-11 10:49:23 UTC
Created attachment 1711065 [details]
Reproducer

Comment 2 Gris Ge 2020-09-22 07:53:21 UTC
Found bug of NetworkManager 1881318


Workaround in nmstate has been posted to upstream for review.

Comment 4 Gris Ge 2020-10-13 12:16:40 UTC
Upstream merged.

Comment 7 Mingyu Shi 2020-11-05 12:18:59 UTC
Verified with versions:
NetworkManager-1.28.0-0.1.el8.x86_64
nispor-0.6.1-2.el8.x86_64
nmstate-0.4.1-2.el8.noarch
DISTRO=RHEL-8.4.0-20201103.d.0
Linux hp-dl380g10-02.rhts.eng.pek2.redhat.com 4.18.0-241.el8.dt1.x86_64 #1 SMP Mon Nov 2 08:24:31 EST 2020 x86_64 x86_64 x86_64 GNU/Linux

Comment 8 Mingyu Shi 2020-11-05 12:21:05 UTC
Created attachment 1726858 [details]
verification

Comment 10 errata-xmlrpc 2021-05-18 15:17:12 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 (nmstate bug fix and enhancement update), 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-2021:1748