OVN synchronized too many segments

Bug #2032169 reported by ZhouHeng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
In Progress
Medium
ZhouHeng

Bug Description

During synchronization, OVN will query all the segments associated with the network in the current database[1]. This will synchronize the dynamic segment and create a provnet ovn logical_switch_port simultaneously.
When creating a network, only a provnet ovn logical_switch_port will be created for segments with dynamic=False[2][3].

[1] https://opendev.org/openstack/neutron/src/commit/be9c4d585db1833b410062f51a6d11a41818b9c1/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_db_sync.py#L1056
[2] https://opendev.org/openstack/neutron/src/commit/be9c4d585db1833b410062f51a6d11a41818b9c1/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py#L1913
[3] https://opendev.org/openstack/neutron/src/commit/be9c4d585db1833b410062f51a6d11a41818b9c1/neutron/db/segments_db.py#L80

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/891930

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Medium
assignee: nobody → ZhouHeng (zhouhenglc)
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.