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.
Change-Id: I52ec4b346271889ebaa7b7f84981eae5503d02d3
Related-Bug: #2020058
Signed-off-by: Lucas Alvares Gomes <email address hidden>
(cherry picked from commit 3044b938b9fa7dfef126db9acc18782978238dc6)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/891293 /opendev. org/openstack/ neutron/ commit/ ddbb29afa417a03 79b9faa07130abd df3e77b3c9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit ddbb29afa417a03 79b9faa07130abd df3e77b3c9
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.
Change-Id: I52ec4b34627188 9ebaa7b7f84981e ae5503d02d3 ef126db9acc1878 2978238dc6)
Related-Bug: #2020058
Signed-off-by: Lucas Alvares Gomes <email address hidden>
(cherry picked from commit 3044b938b9fa7df