Bug 2203140
| Summary: | [ovs bonding]bond port allow input negative integer | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | mhou <mhou> |
| Component: | openvswitch3.1 | Assignee: | Mike Pattrick <mpattric> |
| Status: | CLOSED DUPLICATE | QA Contact: | mhou <mhou> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | RHEL 9.0 | CC: | ctrautma, fbaudin, fleitner, jhsiao, kzhang, mhou, msantana, qding, ralongi |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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: | 2024-03-11 19:10:55 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: | |||
Hello Michael Should this bug DUP of https://bugzilla.redhat.com/show_bug.cgi?id=1990130? *** This bug has been marked as a duplicate of bug 1990130 *** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |
Description of problem: configure bond-downdelay=-1 and bond-updelay=-1 to a bond port. Use ovs-vsctl list port and ovs-appctl bond/show to check the settings of these two parameters. Version-Release number of selected component (if applicable): kernel version: 5.14.0-302.el9.x86_64 openvswitch version: openvswitch3.1-3.1.0-14.el9fdp.x86_64 How reproducible: 100% Steps to Reproduce: 1. configure ovs ovs-vsctl set Open_vSwitch . other_config={} ovs-vsctl --if-exists del-br bondbridge ovs-vsctl --may-exist add-br bondbridge ovs-vsctl add-bond bondbridge active-backup ens4f0 ens4f1 lacp=active bond_mode=active-backup -- set Interface ens4f0 mtu_request=9000 -- set Interface ens4f1 mtu_request=9000 -- set Port active-backup bond-downdelay=-1 bond-updelay=-1 2. check bondport status from ovs-appctl # ovs-appctl bond/show ---- active-backup ---- bond_mode: active-backup bond may use recirculation: no, Recirc-ID : -1 bond-hash-basis: 0 lb_output action: disabled, bond-id: -1 updelay: 0 ms downdelay: 0 ms lacp_status: negotiated lacp_fallback_ab: false active-backup primary: <none> active member mac: 3c:fd:fe:bd:1c:a5(ens4f1) member ens4f0: enabled may_enable: true member ens4f1: enabled active member may_enable: true 3. check port status from ovs-vsctl # ovs-vsctl list port active-backup _uuid : 6b827197-8a68-4854-aa62-9d4f7ebb735e bond_active_slave : "3c:fd:fe:bd:1c:a5" bond_downdelay : -1 bond_fake_iface : false bond_mode : active-backup bond_updelay : -1 cvlans : [] external_ids : {} fake_bridge : false interfaces : [10808a5b-5847-4588-8ad8-0fd8cb126c66, e80db716-1ae5-4cfe-8e3f-08036e78a65b] lacp : active mac : [] name : active-backup other_config : {} protected : false qos : [] rstp_statistics : {} rstp_status : {} statistics : {} status : {} tag : [] trunks : [] vlan_mode : [] Actual results: 1. Bondport can pass negative numbers to bond-downdelay and bond-updelay 2. from ovs-vsctl list port, check the bond-downdelay and bond-updelay is -1. 3. from ovs-appctl, check the downdelay and updelay is 0. Expected results: From QE side, the negative int numbers can't assign to bond-downdelay and bond-updelay. Additional info: