Reviewed: https://review.opendev.org/c/openstack/neutron/+/943404 Committed: https://opendev.org/openstack/neutron/commit/1c953a0bcc0ddce0580055b89e006589bc92ff4a Submitter: "Zuul (22348)" Branch: master
commit 1c953a0bcc0ddce0580055b89e006589bc92ff4a Author: Rodolfo Alonso Hernandez <ralon...@redhat.com> Date: Mon Mar 3 16:52:23 2025 +0000 [OVN] Make the Logical_Switch_Port UP event more robust In ML2/OVN it is possible that the OVN databases are configured in a OVSDB RAFT cluster. If by any circumstance the RAFT leader changes, the active IDL connections to OVN NB and SB databases will temporarily disconnect and reconnect again. During this time gap, if the ``LogicalSwitchPortUpdateUpEvent`` arrives, it won't be processed. This patch keeps the ``LogicalSwitchPortCreateEvent`` in the watch list. Now if the IDL reconnects, all Logical_Switch_Port registers will be received as CREATE events. If a ``LogicalSwitchPortUpdateUpEvent`` was missed, now it will be processed. Closes-Bug: #2101140 Change-Id: Ie303ec230c1b0510d41289ad17ca3d3a48d7b144 ** 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/2101140 Title: [OVN] Make LSP up/down events processing resilient to IDL disconnections Status in neutron: Fix Released Bug description: The port binding phase is part of the VM spawning process. Regardless of the backend used (ML2/OVN, ML2/OVS), it needs to detect the port created and inform to the Neutron API. At this point, the Neutron API will consider the port as UP and will inform to Nova (vif-plugged- event); Nova will send the port binding request after this event. In ML2/OVN it is possible that the OVN databases are configured in a OVSDB RAFT cluster. If by any circumstance the RAFT leader changes, the active IDL connections to OVN NB and SB databases will temporarily disconnect and reconnect again. During this time gap, if the ``LogicalSwitchPortUpdateUpEvent`` arrives, it won't be processed. When the IDL reconnects, it will send all the registers tagged as CREATED, including the missed Logical_Switch_Port event setting to UP this port. The goal of this bug is to make this event resilient to IDL disconnections and prevent timeouts during a VM creation. [1]https://docs.ovn.org/en/latest/tutorials/ovn-ovsdb-relay.html Jira reference: https://issues.redhat.com/browse/OSPRH-14377 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2101140/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp