vmware-nsx/neutron/agent/linux
Darragh O'Reilly baf31fdeee Ensure pid file is removed when metadata ns daemon receives SIGTERM
These files from the metadata namespace proxy are not being removed
because delete_pid() is registered with atexit. This means it only runs
when a process exits normally and won't run when a process receives a
signal.

This patch registers a signal handler for SIGTERM that calls exit()
to make the process exit normally so delete_pid() gets called.

Fixes bug: 1223250

Change-Id: I6309802e2109359560ccc084559ec8e4d310cce2
2013-09-10 09:06:28 +00:00
..
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
daemon.py Ensure pid file is removed when metadata ns daemon receives SIGTERM 2013-09-10 09:06:28 +00:00
dhcp.py Fix DHCP agent to work without extra_dhcp_opt extension 2013-09-02 18:58:04 +02:00
external_process.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
interface.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
ip_lib.py Import Oslo's common rootwrap to Neutron 2013-07-08 18:25:44 +02:00
iptables_firewall.py Implement Allowed Address Pairs 2013-09-05 03:53:59 -07:00
iptables_manager.py Add method to get iptables traffic counters 2013-09-02 12:39:01 +02:00
ovs_lib.py Enable GRE and VXLAN with the same ID 2013-08-22 18:06:16 +02:00
utils.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00