Comment 28 for bug 1973276

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/845910
Committed: https://opendev.org/openstack/neutron/commit/be0a1c3e8110a01e649c01d1c625c2797db34724
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit be0a1c3e8110a01e649c01d1c625c2797db34724
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 29ef60c4c6ef7d973d361d5dcf4f29eef7a38183)