]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure ovsdb-client is stopped when OVS agent dies
authorTerry Wilson <twilson@redhat.com>
Fri, 24 Jan 2014 19:04:18 +0000 (13:04 -0600)
committerTerry Wilson <twilson@redhat.com>
Tue, 25 Feb 2014 00:19:37 +0000 (18:19 -0600)
commit460be872da1dc603abecd4ce988b6c1622996d28
treecabc47579dcc83b87bd057824bf6fba10401dd7e
parent7fb2d579ae5d14fdb538b6f7fde6f58b533c82ba
Ensure ovsdb-client is stopped when OVS agent dies

If the OVS agent is killed, the interpreter is killed before any cleanup
is done. This patch adds a signal handler for SIGTERM that exits
normally so that the existing cleanup is done and the ovsdb-client
process is terminated.

Change-Id: Ie4f8ff434098100f4699124403d58caa784084cf
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py