There's a sync issue while trying to fetch the hosting information for
the LSP before we write it to the OVN database, sometimes the
information is not yet present and we end up with an empty string ("")
for the host attribute of portbindings. This patch adds a retry
mechanism to solve this sync issue.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/891295 /opendev. org/openstack/ neutron/ commit/ 10a981a1589a82f 739980807475cea 8151fa9a70
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 10a981a1589a82f 739980807475cea 8151fa9a70
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Jul 20 10:25:23 2023 +0100
[OVN] Retry retrieving LSP hosting information
There's a sync issue while trying to fetch the hosting information for
the LSP before we write it to the OVN database, sometimes the
information is not yet present and we end up with an empty string ("")
for the host attribute of portbindings. This patch adds a retry
mechanism to solve this sync issue.
Conflicts: plugins/ ml2/drivers/ ovn/mech_ driver/ ovsdb/ovn_ client. py tests/unit/ plugins/ ml2/drivers/ ovn/mech_ driver/ ovsdb/test_ ovn_client. py
neutron/
neutron/
Change-Id: I52ec4b34627188 9ebaa7b7f84981e ae5503d02d3 ef126db9acc1878 2978238dc6)
Related-Bug: #2020058
Signed-off-by: Lucas Alvares Gomes <email address hidden>
(cherry picked from commit 3044b938b9fa7df