Comment 8 for bug 2019887

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/883485
Committed: https://opendev.org/openstack/neutron/commit/f68426366d536a51d57a8a26f4185a81f543771c
Submitter: "Zuul (22348)"
Branch: stable/xena

commit f68426366d536a51d57a8a26f4185a81f543771c
Author: Elvira García <email address hidden>
Date: Mon May 15 01:24:27 2023 +0200

    [stable-only][ovn] Fix ovsdbapp db_set command for stable branches

    The lack of an if_exists on the db_set function in ovsdbapp causes the
    network log object deletion to not be a asynchronous operation on the
    ML2/OVN plugin. The if_exists was recently added to ovsdbapp, but since
    that is an API change[0] it will not be backported to older branches,
    so this patch overrides the function. This way we avoid the
    possibility of getting errors when concurrently making operations
    with security groups and network log objects.

    Closes-bug: #2019887

    [0] https://review.opendev.org/c/openstack/ovsdbapp/+/880687

    Conflicts:
          neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py

    Change-Id: I628591da75c1cc367076f5a3051ca3c1e131d216
    (cherry picked from commit 551ba73aa49c070f95ba3fd6461ab85c5f2c7bd2)