Comment 31 for bug 2024160

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (stable/2023.2)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/896803
Committed: https://opendev.org/openstack/neutron/commit/04e9b063ad526778ba80438fc851e03fa16e5085
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit 04e9b063ad526778ba80438fc851e03fa16e5085
Author: Mohammed Naser <email address hidden>
Date: Tue Sep 26 20:02:55 2023 +0000

    [OVN] Match LSP_TYPE_VIRTUAL in PortBindingUpdateVirtualPortsEvent

    With newer versions of OVN, port bindings are removed and added
    for both virtual ports and container ports (aka trunk ports in
    Neutron world)[1][2].

    With this, Neutron recently landed a change in order to handle
    virtual ports for the update/delete steps[3], however, this has
    resulted in unexpected behaviour where the binding information
    is wiped for trunk ports, then subsequently removed on the
    next maintenance run.

    We should make sure that we only have row deletes for
    virtual ports specifically rather than all ports.

    [1]: https://github.com/ovn-org/ovn/commit/ec933537f9b04b35ef4b79fb2b4743f9095da209
    [2]: https://github.com/ovn-org/ovn/commit/28d40c0a024227c9c845117087b7594723ff0ec7
    [3]: https://review.opendev.org/c/openstack/neutron/+/883681

    Related-Bug: #2024160
    Change-Id: Ide3204748274cbab9731310c2e2bd8bd8c9a53ff
    (cherry picked from commit 1160aaa4716904fdba06a8dcfbc1d5a2ce419e72)