Comment 27 for bug 1973276

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/845912
Committed: https://opendev.org/openstack/neutron/commit/3b9f1be5e5d1287dda6670020a349381f8ba9993
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 3b9f1be5e5d1287dda6670020a349381f8ba9993
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat May 14 23:54:10 2022 +0000

    Set "type=virtual" for OVN LSP with parent ports

    This is a follow-up of [1]. Before this patch, any virtual logical
    switch port that was updated and the "device_owner" was not and empty
    string, had its type set to '' (empty string).

    This maintenance task, that is executed only once, lists all logical
    switch ports, checks the presence or not of virtual parents and
    sets the type to "virtual" if needed.

    Related-Bug: #1973276

    [1]https://review.opendev.org/c/openstack/neutron/+/841711

    Conflicts:
        neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/maintenance.py
        neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_maintenance.py
        neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py
        neutron/tests/unit/db/test_db_base_plugin_v2.py
        neutron/tests/unit/extensions/test_portsecurity.py
        neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py

    Change-Id: I6cf1167d556f0c2c2aa2013f05c809648020b377
    (cherry picked from commit 3c93da7bdf35c3be6081384b7f6d9a4ce13510d3)
    (cherry picked from commit 316b55440ab7a2b27e0468a87545ee1db9e85b84)
    (cherry picked from commit 8c79b631aa36d31be916427c2dbba10f5086389a)
    (cherry picked from commit d6f395378ce4ed3697c0011afebe2c1d142d8040)