Comment 18 for bug 1958501

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/+/901026
Committed: https://opendev.org/openstack/neutron/commit/f28f6b01e19200c9502bce14581d1e538f27dd05
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit f28f6b01e19200c9502bce14581d1e538f27dd05
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)
    (cherry picked from commit 6cc5adac709a82616529cd1599fd4ce8add2da84)