Comment 8 for bug 1837380

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

Reviewed: https://review.opendev.org/673161
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=41db09c434281977fb02196278613b1284990525
Submitter: Zuul
Branch: stable/rocky

commit 41db09c434281977fb02196278613b1284990525
Author: Slawek Kaplonski <email address hidden>
Date: Mon Jul 22 13:29:28 2019 +0200

    Don't crash ovs agent during reconfigure of phys bridges

    In case when physical bridge was recreated on host, ovs agent
    is trying to reconfigure it.
    If there will be e.g. timeout while getting bridge's datapath_id,
    RuntimeError will be raised and that caused crash of whole agent.

    This patch changes that to not crash agent in such case but try to
    reconfigure everything in next rpc_loop iteration once again.

    Conflicts:
        neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
        neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py

    Change-Id: Ic9b17a420068c0c76748e2c24d97be1ed7c460c7
    Closes-Bug: #1837380
    (cherry picked from commit b63809715a0b9b8ea0f354dfd6f1b3fd7a713352)