[
https://issues.apache.org/jira/browse/CLOUDSTACK-8952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14964589#comment-14964589
]
ASF subversion and git services commented on CLOUDSTACK-8952:
-------------------------------------------------------------
Commit 5b3c99031ffa1e2f73fc839d054cb88f6abd802b in cloudstack's branch
refs/heads/master from [~wilder.rodrigues]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5b3c990 ]
CLOUDSTACK-8952 - Do not rely in the router state on the json file to report
back to ACS
- If we stop/start a router, the state in the file will still say MASTER,
when it is actually not
- Checking the state based on the interface (eth1) state
- Once master.py is called by keepalived, save the state in the json file to
BACKUP just to make sure it's also written there
> The redundant routers are facing a race condition due to several
> KeepaliveD/ConntrackD restarts
> -----------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8952
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8952
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Virtual Router
> Affects Versions: 4.6.0
> Reporter: Wilder Rodrigues
> Assignee: Wilder Rodrigues
> Priority: Blocker
> Fix For: 4.6.0
>
>
> In the CsRedundant.py we have a line doing:
> proc = CsProcess(['/usr/sbin/keepalived', '--vrrp'])
> However, the CsProcess cannot find a process with the string search "--vrrp",
> which makes it always return false and restart keepalived.
> Due to the restart, the routers start a race condition to become master,
> which makes network features unavailable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)