Skip to content

Commit f603816

Browse files
committed
CLSTACK-8923 vr: Force a restart of keepalived if conntrackd is not running or configuration has changed
1 parent eba9c86 commit f603816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemvm/debian/opt/cloud/bin/cs/CsRedundant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def _redundant_on(self):
173173
force_keepalived_restart = False
174174
proc = CsProcess(['/etc/conntrackd/conntrackd.conf'])
175175

176-
if not proc.find() and not is_equals:
176+
if not proc.find() or not is_equals:
177177
CsHelper.copy(conntrackd_template_conf, self.CONNTRACKD_CONF)
178178
CsHelper.service("conntrackd", "restart")
179179
force_keepalived_restart = True

0 commit comments

Comments
 (0)