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/672018 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=b63809715a0 b9b8ea0f354dfd6 f1b3fd7a713352
Committed: https:/
Submitter: Zuul
Branch: master
commit b63809715a0b9b8 ea0f354dfd6f1b3 fd7a713352
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
Closes-Bug: #1837380