mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8952 - Remove the '--vrrp' search criteria form the CsProcess constructor call
- There is no such process, which makes the CsProcess.find return false and restart keepalived all the time.
This commit is contained in:
parent
9363be3397
commit
08b983fe02
|
|
@ -173,7 +173,7 @@ class CsRedundant(object):
|
|||
conntrackd_cron.add("@reboot root service conntrackd start", -1)
|
||||
conntrackd_cron.commit()
|
||||
|
||||
proc = CsProcess(['/usr/sbin/keepalived', '--vrrp'])
|
||||
proc = CsProcess(['/usr/sbin/keepalived'])
|
||||
if not proc.find() or keepalived_conf.is_changed():
|
||||
CsHelper.service("keepalived", "restart")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue