Comment 5 for bug 1896827

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

Reviewed: https://review.opendev.org/755082
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=58e2def05f5e444e900a5dc03b6ef6b3cb3f5325
Submitter: Zuul
Branch: stable/ussuri

commit 58e2def05f5e444e900a5dc03b6ef6b3cb3f5325
Author: Flavio Fernandes <email address hidden>
Date: Wed Sep 23 15:28:55 2020 -0400

    [OVN] update_port should not remove values from external_ids

    Prior to this patch, the OVNClient implementation for neutron's
    update_port was setting the external_ids of the affected logical
    switch port to a hard-coded dictionary. This meant that any key
    value pairs that were not listed there would simply get removed.
    This would make it impossible for any other users of the
    external_id to have a reliable way of storing its data. One of
    such users could be the ovn-octavia-provider.

    Note: mock module does not exist in stable/victoria and master,
    thus the conflict below.

    Conflicts:
            neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_ovn_db_resources.py

    Closes-Bug: #1896827
    Change-Id: Ie580534e4d91f1ca2e1dc8331632d49d4720e7ba
    (cherry picked from commit be3669258cb6f8a6c43b2f016a344185075fa544)