Bug 1892569

Summary: Failed on bond mode 5 when tlb_dynamic_lb is set
Product: Red Hat Enterprise Linux 8 Reporter: Mingyu Shi <mshi>
Component: nmstateAssignee: Gris Ge <fge>
Status: CLOSED ERRATA QA Contact: Mingyu Shi <mshi>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.4CC: ellorent, ferferna, jiji, jishi, network-qe, till
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1966379 (view as bug list) Environment:
Last Closed: 2021-11-09 17:42:37 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: 1966379    

Description Mingyu Shi 2020-10-29 08:18:08 UTC
Description of problem:
Failed on bond mode 5 when tlb_dynamic_lb is set, whatever it is true or false.

Version-Release number of selected component (if applicable):
NetworkManager-1.28.0-0.1.el8.x86_64
nispor-0.6.1-2.el8.x86_64
nmstate-0.4.1-1.el8.noarch
DISTRO=RHEL-8.4.0-20201028.d.1
Linux hp-dl388g8-08.rhts.eng.pek2.redhat.com 4.18.0-240.8.el8.x86_64 #1 SMP Sun Oct 25 16:56:23 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:
100%

Steps to Reproduce:
echo "interfaces:
- name: bond99
  type: bond
  state: up
  link-aggregation:
    mode: balance-tlb" | nmstatectl set
nmstatectl show bond99 # you can see "tlb_dynamic_lb: true"
nmstatectl show bond99 | nmstatectl set

Actual results:
libnmstate.error.NmstateValueError: Invalid bond option: 'tlb_dynamic_lb'='True'

Expected results:
No failure

Additional info:

Comment 4 Mingyu Shi 2021-06-01 03:25:28 UTC
Pretested with versions:
nmstate-1.1.0-0.20210601024625080467.pr1614.47.ge28be05.el8.noarch
nispor-1.1.0-1.el8.x86_64
NetworkManager-1.32.0-0.4.el8.x86_64

tlb_dynamic_lb can be set and changed as true/false or 1/0

Comment 8 Mingyu Shi 2021-06-11 03:25:44 UTC
Verified with versions:
nmstate-1.1.0-0.3.alpha3.el8.noarch
nispor-1.1.0-1.el8.x86_64
NetworkManager-1.32.0-0.4.el8.x86_64

Comment 9 Fernando F. Mancera 2021-06-22 00:38:58 UTC
*** Bug 1972705 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2021-11-09 17:42:37 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:4157