ovn-bgp-agent slow at scale

Bug #2045892 reported by Max
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ovn-bgp-agent
Fix Released
Critical
Unassigned

Bug Description

With many Port_Binding entries the full sync iteration takes ~6min
This is because there is no index for the Port_Binding table.
Due to that missing index ovsidl iterates always over all Port_Bindings to find the patch port that is requestet by:
-> drivers/openstack.utils/ovn.py -> OvsdbSbOvnIdl.get_port_by_name()

After adding the index to the lookup_table in the ovsdbapp the iteration takes ~5sec.

Env:
Port_Bindings in the southbound db - 31060 entries
ovn-bgp-agent on latest master branch with python3.11 and latest ovsdbapp

Revision history for this message
Max (maxlamprecht) wrote :
Changed in ovn-bgp-agent:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ovsdbapp 2.5.1

This issue was fixed in the openstack/ovsdbapp 2.5.1 release.

Changed in ovn-bgp-agent:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.