Allow to kill keepalived state change monitor process
Usually Neutron stops neutron-keepalived-state-change-monitor process gracefully with SIGTERM. But in case if this will not stop process for some time, Neutron will try to kill this process with SIGKILL (-9). That was causing problem with rootwrap as kill filters for this process allowed to send only "-15" to it. Now it is possible to kill this process with "-9" too. Conflicts: etc/neutron/rootwrap.d/l3.filters Change-Id: Id019fa7649bd1158f9d56e63f8dad108d0ca8c1f Closes-bug: #1860326 (cherry picked from commitd6fccd247f
) (cherry picked from commitf4d05266d2
)
This commit is contained in:
parent
54e1a6b1bc
commit
be03bd225c
|
@ -69,9 +69,9 @@ keepalived_state_change: CommandFilter, neutron-keepalived-state-change, root
|
||||||
# command of the process to be killed is python.
|
# command of the process to be killed is python.
|
||||||
# TODO(mlavalle) These kill filters will be updated once we come up with a
|
# TODO(mlavalle) These kill filters will be updated once we come up with a
|
||||||
# mechanism to kill using the name of the script being executed by Python
|
# mechanism to kill using the name of the script being executed by Python
|
||||||
kill_keepalived_monitor_py: KillFilter, root, python, -15
|
kill_keepalived_monitor_py: KillFilter, root, python, -15, -9
|
||||||
kill_keepalived_monitor_py27: KillFilter, root, python2.7, -15
|
kill_keepalived_monitor_py27: KillFilter, root, python2.7, -15, -9
|
||||||
kill_keepalived_monitor_py3: KillFilter, root, python3, -15
|
kill_keepalived_monitor_py3: KillFilter, root, python3, -15, -9
|
||||||
kill_keepalived_monitor_py35: KillFilter, root, python3.5, -15
|
kill_keepalived_monitor_py35: KillFilter, root, python3.5, -15, -9
|
||||||
kill_keepalived_monitor_py36: KillFilter, root, python3.6, -15
|
kill_keepalived_monitor_py36: KillFilter, root, python3.6, -15, -9
|
||||||
kill_keepalived_monitor_py37: KillFilter, root, python3.7, -15
|
kill_keepalived_monitor_py37: KillFilter, root, python3.7, -15, -9
|
||||||
|
|
Loading…
Reference in New Issue