[
https://issues.apache.org/jira/browse/CLOUDSTACK-9151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15054375#comment-15054375
]
ASF GitHub Bot commented on CLOUDSTACK-9151:
--------------------------------------------
Github user remibergsma commented on the pull request:
https://github.com/apache/cloudstack/pull/1231#issuecomment-164163586
Thanks for the quick fix @wilderrodrigues.
Bit explanation: redundant routers worked fine in our 4.7 cloud, then all
of a sudden were broken. Root cause was due to `virtual_router_id` was set to
vpc_id. When we got more than 255 it broke, as this `keepalived` setting can
only be 0-255. This keeps the default in the template, which is in
`keepalived.conf.templ`:
```
virtual_router_id 51
```
Thanks @fborn for discovering the issue!
> As a Developer I want the VRID to be set within the limits of KeepaliveD
> ------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9151
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9151
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Virtual Router, VPC
> Affects Versions: 4.6.0, 4.6.1
> Reporter: Wilder Rodrigues
> Assignee: Wilder Rodrigues
> Priority: Blocker
> Fix For: 4.7.0, 4.6.2
>
>
> Dec 12 14:36:10 r-996-VM Keepalived_vrrp[28477]: VRRP Error : VRID not valid !
> Dec 12 14:36:10 r-996-VM Keepalived_vrrp[28477]: must be between
> 1 & 255. reconfigure !
> [3:38]
> inside the /etc/keepalived/keepalived.conf
> [3:38]
> vrrp_instance inside_network {
> state EQUAL
> interface eth4
> virtual_router_id 459
> [3:43]
> The current code uses the VPC ID as VRID, but it doesn't have to be unique
> per VPC, but for NIC. So, we can simply use 51, as the KeepaliveD suggests.
> # arbitary unique number 0..255 # used to differentiate multiple instances of
> vrrpd # running on the same NIC (and hence same socket). virtual_router_id 51
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)