When of_interface=native, the ovs agent code is run as a ryuapp thread,
which means it must be properly shut down or the process fails to
terminate. Catch exceptions and make sure that the agent terminates,
even if in unlucky cases.
Change-Id: I7aebeaa00e2416a275d9ecd940eb28c819349656
Closes-Bug: #1611237
(cherry picked from commit 3e45c19eedccd800d7c6e5f0fce57295cf3a7b02)
Reviewed: https:/ /review. openstack. org/401907 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c0ef390676e 385169f56335c25 6aef736d7bb946
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit c0ef390676e3851 69f56335c256aef 736d7bb946
Author: IWAMOTO Toshihiro <email address hidden>
Date: Tue Nov 22 16:59:54 2016 +0900
ovs-agent: Catch exceptions in agent_main_wrapper
When of_interface= native, the ovs agent code is run as a ryuapp thread,
which means it must be properly shut down or the process fails to
terminate. Catch exceptions and make sure that the agent terminates,
even if in unlucky cases.
Change-Id: I7aebeaa00e2416 a275d9ecd940eb2 8c819349656 0d7c6e5f0fce572 95cf3a7b02)
Closes-Bug: #1611237
(cherry picked from commit 3e45c19eedccd80