[
https://issues.apache.org/jira/browse/CLOUDSTACK-9015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15002989#comment-15002989
]
ASF GitHub Bot commented on CLOUDSTACK-9015:
--------------------------------------------
GitHub user wilderrodrigues opened a pull request:
https://github.com/apache/cloudstack/pull/1064
CLOUDSTACK-9015 - Redundant VPC Virtual Router's state is BACKUP & BACKUP
or MASTER & MASTER
This PR fixes the problems we were facing with the Redundant VPC Routers.
The following changes have been applied:
* Add test to cover the rVPC routers stop/start/reboot scenario
- Stop/reboot master router should make the backup router become master
- Start the stopped router should make it become the backup router
* Make sure the Backup router can talk to the Master router after a
stop/start/reboot
- Stop KeepaliveD/ConntrackD if the eth2 (guest) interface is not
configured and UP
- Only setup the redundancy after all the router configuration is done
- Open the FW for the VRRP communitation
- 224.0.0.18 and 225.0.0.50
- Set keepalived.conf.templ by default to use interface eth2 (guest)
- It will be reconfigured anyway, but having eth2 there is more clear
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ekholabs/cloudstack fix/rVPC-CLOUDSTACK-9015
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1064.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1064
----
commit cd05a252fb6c76ceff88f3dc83d3699be18556a7
Author: Wilder Rodrigues <[email protected]>
Date: 2015-11-12T17:13:51Z
CLOUDSTACK-9015 - Make sure the Backup router can talk to the Master router
after a stop/start/reboot
- Stop KeepaliveD/ConntrackD if the eth2 (guest) interface is not
configured and UP
- Only setup the redundancy after all the router configuration is done
- Open the FW for the VRRP communitation
- 224.0.0.18 and 225.0.0.50
- Set keepalived.conf.templ by default to use interface eth2 (guest)
- It will be reconfigured anyway, but having eth2 there is more clear
commit 952d9a84d23b3070b1073ed8ea53275de1c556e1
Author: Wilder Rodrigues <[email protected]>
Date: 2015-11-12T17:32:53Z
CLOUDSTACK-9015 - Add test to cover the rVPC routers stop/start/reboot
scenario
- Stop/reboot master router should make the backup router become master
- Start the stopped router should make be the backup router
----
> Redundant VPC Virtual Router's state is BACKUP & BACKUP or MASTER & MASTER
> --------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9015
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9015
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.6.0
> Environment: CloudStack master(2015/10/31) 4.6.0-snapshot
> Hypervisor CentOS6/KVM
> SystemVM
> build #654 (2015/10/22 19:27:55)
> http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-4.6.0-kvm.qcow2.bz2
> Reporter: satoru nakaya
> Assignee: Wilder Rodrigues
> Priority: Critical
>
> Steps of reproduce.
> 1)Create VPC (Redundant VPC offering)
> 2)Create tier
> 3)Create VM Instance on this tier
> 4)Check Redundant state (good)
> r-14-VM Redundant state:MASTER
> r-15-VM Redundant state:BACKUP
> 5) Reboot Router r-14-VM
> 6)Check Redundant state (good)
> r-14-VM Redundant state:BACKUP
> r-15-VM Redundant state:MASTER
> 7) Reboot Router r-15-VM
> 8)Check Redundant state (bad)
> r-14-VM Redundant state:BACKUP
> r-15-VM Redundant state:BACKUP
> 9)Check Log(r-14-VM's /var/log/messages)
> Nov 1 00:46:29 r-14-VM Keepalived_vrrp[3711]: VRRP_Instance(inside_network)
> sending 0 priority
> Nov 1 00:47:34 r-14-VM Keepalived_vrrp[2179]: Netlink: filter function error
> Nov 1 00:47:34 r-14-VM Keepalived_healthcheckers[2178]: Netlink: filter
> function error
> Nov 1 00:47:53 r-14-VM Keepalived_healthcheckers[2178]: Netlink: filter
> function error
> Nov 1 00:47:53 r-14-VM Keepalived_vrrp[2179]: Netlink: filter function error
> Nov 1 00:47:54 r-14-VM Keepalived_healthcheckers[2178]: Netlink: filter
> function error
> Nov 1 00:47:54 r-14-VM Keepalived_vrrp[2179]: Netlink: filter function error
> 10)Check Log(r-15-VM's /var/log/messages)
> Nov 1 00:49:19 r-15-VM Keepalived_vrrp[3682]: VRRP_Instance(inside_network)
> sending 0 priority
> Nov 1 00:50:25 r-15-VM Keepalived_vrrp[2179]: Netlink: filter function error
> Nov 1 00:50:25 r-15-VM Keepalived_healthcheckers[2178]: Netlink: filter
> function error
> Nov 1 00:50:45 r-15-VM Keepalived_healthcheckers[2178]: Netlink: filter
> function error
> Nov 1 00:50:45 r-15-VM Keepalived_vrrp[2179]: Netlink: filter function error
> Nov 1 00:50:45 r-15-VM Keepalived_healthcheckers[2178]: Netlink: filter
> function error
> Nov 1 00:50:45 r-15-VM Keepalived_vrrp[2179]: Netlink: filter function error
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)