keepalived refuses to start and claims "daemon already started"
when there is already a process with the same PID as found in
either the VRRP or the main process PID file. This happens even
in case when the new process is not keepalived. The situation
can happen when the neutron node is reset and the obsolete PID
files are not cleaned before neutron is started.
This commit adds PID file cleanup before keepalived start.
Reviewed: https:/ /review. openstack. org/296532 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e98fabb5836 b12bc40a2b64a26 68893ea73c2320
Committed: https:/
Submitter: Jenkins
Branch: master
commit e98fabb5836b12b c40a2b64a266889 3ea73c2320
Author: Hynek Mlnarik <email address hidden>
Date: Wed Mar 23 14:51:59 2016 +0100
Remove obsolete keepalived PID files before start
keepalived refuses to start and claims "daemon already started"
when there is already a process with the same PID as found in
either the VRRP or the main process PID file. This happens even
in case when the new process is not keepalived. The situation
can happen when the neutron node is reset and the obsolete PID
files are not cleaned before neutron is started.
This commit adds PID file cleanup before keepalived start.
Closes-Bug: 1561046 253f195c9eab6b2 43d9eb76fa2
Change-Id: Ib6b6f2fe76fe82