Bug 2215521
| Summary: | [ovs-vsctl]ovs is insensitive to other-config or other_config, when configure port table | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | mhou <mhou> |
| Component: | openvswitch | Assignee: | Timothy Redaelli <tredaelli> |
| openvswitch sub component: | other | QA Contact: | mhou <mhou> |
| Status: | CLOSED WONTFIX | Docs Contact: | |
| Severity: | low | ||
| Priority: | low | CC: | ctrautma, qding |
| Version: | RHEL 9.0 | ||
| 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: | 2023-07-03 16:23:41 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: | |||
By design, OVSDB is insensitive to '-' vs '_' in column/table names, so it will accept either. |
Description of problem: when configure ovs bond port, Whether you use other-config or other_config, configuration will take effect in bond port. Version-Release number of selected component (if applicable): ovs version:openvswitch3.1-3.1.0-24.el9fdp.x86_64 How reproducible: 100% Steps to Reproduce: 1. configure bond port with other-config # ovs-vsctl add-bond bondbridge active-backup ens4f1 ens4f0 lacp=active bond_mode=active-backup -- set Interface ens4f1 mtu_request=9000 -- set Interface ens4f0 mtu_request=9000 -- set Port active-backup other-config:bond-primary=ens4f0 # ovs-vsctl list port active-backup _uuid : 6528b48a-9c49-4104-9789-29d562f65d88 bond_active_slave : "3c:fd:fe:bd:1c:a4" bond_downdelay : 0 bond_fake_iface : false bond_mode : active-backup bond_updelay : 0 cvlans : [] external_ids : {} fake_bridge : false interfaces : [4bc08e27-9a6f-47d6-9f3d-d784a25d54ae, e8b0cfb8-afb4-4356-8351-8d41a90395c1] lacp : active mac : [] name : active-backup other_config : {bond-primary=ens4f0} protected : false qos : [] rstp_statistics : {} rstp_status : {} statistics : {} status : {} tag : [] trunks : [] vlan_mode : [] 2. configure bond port with other_config # ovs-vsctl add-bond bondbridge active-backup ens4f1 ens4f0 lacp=active bond_mode=active-backup -- set Interface ens4f1 mtu_request=9000 -- set Interface ens4f0 mtu_request=9000 -- set Port active-backup other_config:bond-primary=ens4f0 # ovs-vsctl list port active-backup _uuid : d62ad777-2728-4735-b7f1-f907576065b1 bond_active_slave : "3c:fd:fe:bd:1c:a4" bond_downdelay : 0 bond_fake_iface : false bond_mode : active-backup bond_updelay : 0 cvlans : [] external_ids : {} fake_bridge : false interfaces : [b802bc19-63cf-4c8b-9911-1cd01248c044, e709e112-1c6f-4223-9527-cdf74efe50f1] lacp : active mac : [] name : active-backup other_config : {bond-primary=ens4f0} protected : false qos : [] rstp_statistics : {} rstp_status : {} statistics : {} status : {} tag : [] trunks : [] vlan_mode : [] 3. Actual results: In some configurations, such as the configuration of ovs bond, the format of other_config does not seem to be unified Expected results: Additional info: