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.
Reviewed: https:/ /review. opendev. org/673171 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=fa2863be864 f75cd4a11584bcb eeb761a5380883
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit fa2863be864f75c d4a11584bcbeeb7 61a5380883
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: Ic9b17a420068c0 c76748e2c24d97b e1ed7c460c7 ea0f354dfd6f1b3 fd7a713352)
Closes-Bug: #1837380
(cherry picked from commit b63809715a0b9b8