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/251693 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=34822ba31a6 2ee6f0f5b532a2c 435f3c9b684605
Committed: https:/
Submitter: Jenkins
Branch: master
commit 34822ba31a62ee6 f0f5b532a2c435f 3c9b684605
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
Related-Bug: #1511311