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.
Change-Id: Ic9b17a420068c0c76748e2c24d97be1ed7c460c7
Closes-Bug: #1837380
(cherry picked from commit b63809715a0b9b8ea0f354dfd6f1b3fd7a713352)
Reviewed: https:/ /review. opendev. org/673145 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=8d8f66eddd4 3658e59de157dfc bd0f9dc9c716c6
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 8d8f66eddd43658 e59de157dfcbd0f 9dc9c716c6
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.
Change-Id: Ic9b17a420068c0 c76748e2c24d97b e1ed7c460c7 ea0f354dfd6f1b3 fd7a713352)
Closes-Bug: #1837380
(cherry picked from commit b63809715a0b9b8