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/ +/891297 /opendev. org/openstack/ neutron/ commit/ cf2508bdb88ed40 835637009b5f333 a74bdd764d
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit cf2508bdb88ed40 835637009b5f333 a74bdd764d
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