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/ +/891296 /opendev. org/openstack/ neutron/ commit/ f26a30a03e61c51 c0ed1cadba77d0e 6a4443b8ae
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit f26a30a03e61c51 c0ed1cadba77d0e 6a4443b8ae
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: tests/unit/ plugins/ ml2/drivers/ ovn/mech_ driver/ ovsdb/test_ ovn_client. py
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