commit 340e776492ee9ec00261871996662686221f9f82
Author: Daniel Alvarez <email address hidden>
Date: Thu Nov 24 16:32:50 2016 +0000
Kill processes when cleaning up namespaces
This patch will kill processes that are listening on any port/UNIX
socket within the namespace to be cleaned up. To kill them it will
issue a SIGTERM to them (or to their parents if they were forked) and,
if they don't die after a few seconds, a SIGKILL to them and all their
children.
This is intended for those cases when there's no specific cleanup and
serves as a fallback method.
Change-Id: I4195f633ef4a1788496d1293846f19eef89416aa
Partial-Bug: #1403455
(cherry picked from commit 1d38f30555384257445f0d119a307e74e88d7fbf)
Reviewed: https:/ /review. openstack. org/417957 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=340e776492e e9ec00261871996 662686221f9f82
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 340e776492ee9ec 002618719966626 86221f9f82
Author: Daniel Alvarez <email address hidden>
Date: Thu Nov 24 16:32:50 2016 +0000
Kill processes when cleaning up namespaces
This patch will kill processes that are listening on any port/UNIX
socket within the namespace to be cleaned up. To kill them it will
issue a SIGTERM to them (or to their parents if they were forked) and,
if they don't die after a few seconds, a SIGKILL to them and all their
children.
This is intended for those cases when there's no specific cleanup and
serves as a fallback method.
Change-Id: I4195f633ef4a17 88496d1293846f1 9eef89416aa 7445f0d119a307e 74e88d7fbf)
Partial-Bug: #1403455
(cherry picked from commit 1d38f3055538425