Comment 14 for bug 1990129

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ovn-octavia-provider (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/859530
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/99fcea157d961e11a2af9a3570b35ab0c3383b39
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 99fcea157d961e11a2af9a3570b35ab0c3383b39
Author: Fernando Royo <email address hidden>
Date: Wed Sep 14 15:52:43 2022 +0200

    Avoid LB ERROR status on delete when LS/LR are already deleted

    The delete operation of an LB lists all references to it (LS and
    LR) and in a single transaction deletes them together with the
    LB itself. If any of those deletions raise a RowNotFound exception,
    the execution will report ERROR status.

    This patch will reduce those situations, rechecking the command
    that triggers the RowNotFound exception and passing in case a LS
    or a LR was the culprit, deleting finally the LB and reporting as
    a DELETED status. In other case, the exception is raised and
    finally the LB will be reported as ERROR status.

    Closes-Bug:#1990129

    Change-Id: I91b29add2a5d2ca3d4eff4b8d6a88be16c42be51
    (cherry picked from commit f9ccb4c48627a200ef27dde60b01bccdccac4e45)