keepalived fails to respawn after crash for > 1.2.11 version.
When keepalived starts, it spawns vrrp thread to monitor vrrp forked
process. It also creates a vrrp pid file. When the process is killed, and
it's restarted, the the new keepalived process runs with -P, so
when we validate whether we are already running, we check vrrp pid file.
Since we never clean up the file before starting the process, and the process
dies without a chance to clean up the file as part of its signal
handler, respawn never works.
Reviewed: https:/ /review. openstack. org/258117 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=a0747e6bc3c 3d19ecc9284e608 34f11f7d2b5768
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit a0747e6bc3c3d19 ecc9284e60834f1 1f7d2b5768
Author: Arie Bregman <email address hidden>
Date: Tue Dec 1 09:47:55 2015 +0200
Skip keepalived_respawns test
keepalived fails to respawn after crash for > 1.2.11 version.
When keepalived starts, it spawns vrrp thread to monitor vrrp forked
process. It also creates a vrrp pid file. When the process is killed, and
it's restarted, the the new keepalived process runs with -P, so
when we validate whether we are already running, we check vrrp pid file.
Since we never clean up the file before starting the process, and the process
dies without a chance to clean up the file as part of its signal
handler, respawn never works.
keepalived_ respawns test should be skipped until bug is resolved. /bugzilla. redhat. com/show_ bug.cgi? id=1286729
See also: https:/
Change-Id: Ic111573e0cd5ad 5bfe70b0f38ec02 03c10d52e34 f0f5b532a2c435f 3c9b684605)
Related-Bug: #1511311
(cherry picked from commit 34822ba31a62ee6