Slawek Kaplonski c86473d1a6 Add kill_timeout to AsyncProcess
AsyncProcess.stop() method has now additional parameter
kill_timeout. If this is set to some value different than
None, eventlet.green.subprocess.Popen.wait() will be called
with this timeout, so TimeoutExpired exception will be raised
in case if process will not be killed for this "kill_timeout"
time.
In such case process will be killed "again" with SIGKILL signal
to make sure that it is gone.

This should fix problem with failing fullstack tests, when
ovs_agent process is sometimes not killed and test timeout was
reached in this wait() method.

Conflicts:
    neutron/agent/linux/async_process.py

Change-Id: I1e12255e5e142c395adf4e67be9d9da0f7a3d4fd
Closes-Bug: #1798472
(cherry picked from commit 9b23abbdb68f7e0c80c305ec1874281f6dea7e9e)
2019-01-04 11:48:21 +01:00
2016-06-28 22:46:19 +02:00
2019-01-04 11:48:21 +01:00
2016-10-17 17:06:19 +05:30
2017-08-11 08:59:13 +00:00
2014-05-16 13:40:04 -04:00
2017-06-13 19:26:49 +00:00
2017-04-07 09:55:12 +08:00
2017-03-04 11:19:58 +00:00
2018-04-17 10:39:04 -04:00

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst

Description
OpenStack Networking (Neutron)
Readme 1 GiB
Languages
Python 99.7%
Shell 0.3%