Comment 16 for bug 1958501

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

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

commit c51d6d117af4c739106903f5a525b82434893cff
Author: Slawek Kaplonski <email address hidden>
Date: Wed Aug 17 14:00:33 2022 +0200

    [OVN] Try to bind ports only to the ovn-controller agents

    Patch [1] added getting ovn agents from the agents cache and check
    if agent is alive to bound port to it.
    Small issue with it was that it could check e.g. ovn metadata agent from
    the host as it was only filtering agents by the host on which they are.

    This patch adds filter on the agent_type so only ovn-controller agents
    are taken from the cache.

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

    Conflicts:
        neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py
        neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py

    Related-Bug: #1958501
    Change-Id: If065204d7521c480656a22fb078bbe6273b5fc70
    (cherry picked from commit eda45de8391597b6f29d76715996755cb1777dd0)
    (cherry picked from commit 601b01f82b6fcaa699eda556c8094208fd20f10b)