Reviewed: https://review.opendev.org/c/openstack/neutron/+/891930 Committed: https://opendev.org/openstack/neutron/commit/28059598d2230c588b99074bfd7f914c86c35b5a Submitter: "Zuul (22348)" Branch: master
commit 28059598d2230c588b99074bfd7f914c86c35b5a Author: zhouhenglc <[email protected]> Date: Mon Aug 21 15:08:10 2023 +0800 [ovn]Only synchronize non dynamic segments When creating a network, only the localnet logical_switch_port will be created for segments with dynamic=False [1][2]. when we synchronize data, we should also add filtering criteria. [1] https://opendev.org/openstack/neutron/src/commit/be9c4d585db1833b410062f51a6d11a41818b9c1/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py#L1913 [2] https://opendev.org/openstack/neutron/src/commit/be9c4d585db1833b410062f51a6d11a41818b9c1/neutron/db/segments_db.py#L80 Closes-Bug: #2032169 Change-Id: Iad51712a4fe192bd488c1458819fd5708eb94d78 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2032169 Title: OVN synchronized too many segments Status in neutron: Fix Released 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 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2032169/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

