Comment 5 for bug 2012754

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/897846
Committed: https://opendev.org/openstack/neutron/commit/ec588b0bc00b12867f718b860b67bdeaeb6224a3
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit ec588b0bc00b12867f718b860b67bdeaeb6224a3
Author: Miro Tomaska <email address hidden>
Date: Fri Mar 24 11:51:06 2023 -0500

    Fix intermittent failures in finding metada port in SB DB

    The test_agent_metadata_port_ip_update_event can sometimes fail
    with finding the port in SB DB Port_Binding table. This is
    due to a race condition between when the port is commited to NB DB
    ,reflected in SB DB and calling lsp_bind on SB DB.
    This patch simply adds metadata port create event check before
    calling lsp_bind on the metadata port.

    Closes-Bug: #2012754
    Change-Id: I07fa45401788da6b963830e72a7b3a3cd54662e1
    (cherry picked from commit 9d5163301310a8c3cb72e18cbaed89afbc07f674)