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/421953 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=a1ca8ee5a1c ca549cd294295a6 af2a396b9b3957
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit a1ca8ee5a1cca54 9cd294295a6af2a 396b9b3957
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