[ https://issues.apache.org/jira/browse/CLOUDSTACK-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748153#comment-13748153 ]
ASF subversion and git services commented on CLOUDSTACK-4199: ------------------------------------------------------------- Commit e515acd7be347ba853dcb3b7cc26d277e6d4d2b9 in branch refs/heads/master from [~yasker] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e515acd ] CLOUDSTACK-4199: Only use ifdown/ifup for the un-configured eth2 Seems the behavior of ifdown/ifup changed in new version, that it would only enable the default IP of eth2, regardless we can configure additional ips for it. So we would always use ifconfig for interface control whenever possible(a.k.a eth2 already got ip addresses). When VR is booting up, ipassoc command hasn't been delivered, it's possible that eth2 doesn't have any ip address, then ifconfig would fail because it doesn't know how to find the ip for eth2. So in this only case, we would use ifdown/ifup to set the ip address according to /etc/network/interfaces. It can potentially racy againest ipassoc command, but biglock should prevent racy condition from happening. > Redundant Virtual Router - no failover occur > -------------------------------------------- > > Key: CLOUDSTACK-4199 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4199 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.2.0 > Environment: MS ACS 4.2 campo internal build 341 > host XS 6.2 > Reporter: angeline shen > Assignee: Sheng Yang > Priority: Critical > Fix For: 4.2.0 > > Attachments: FAULT_logs.tgz, logs.tgz, management-server.log.gz, > management-server.log.gz, MASTER_logs.tgz, Screenshot-CloudPlatform™ - > Mozilla Firefox-3.png, Screenshot-CloudPlatform™ - Mozilla Firefox-4.png > > > 1. create network offering 'egallowrvrnw1' with egress firewall policy : > allow , redundant router > advance zone. create network of this offering. create guest VMs > Verify ssh to VMs. VMs can ping other VMs in this network & reach > internet > 2. RVR MASTER r-37-VM > RVR BACKUP r-38-VM > stop r-37-VM > Result: r-37-VM state becomes UNKNOWN > r-38-VM state becomes FAULT > no failover occur > Cannot ssh to existing VMs > 3. start r-37-VM. > Result: r-37-VM state becomes MASTER > r-38-VM state remains FAULT > VMs can reach other VMs in same network. > VMs cannot reach internet > 4. stop r-37-VM > r-37-VM state becomes UNKNOWN > r-38-VM state becomes FAULT > no failover occur > Cannot ssh to existing VMs > r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 1 > networks to update RvR status. > 2013-08-08 19:22:44,763 INFO > [network.router.VirtualNetworkApplianceManagerImpl] > (RedundantRouterStatusMonitor-6:null) Redundant virtual router (name: > r-37-VM, id: 37) just switch from MASTER to UNKNOWN > 2013-08-08 19:22:44,768 DEBUG [agent.transport.Request] > (RedundantRouterStatusMonitor-6:null) Seq 1-2062888873: Sending { Cmd , > MgmtId: 7343890761426, via: 1, Ver: v1, Flags: 100011, > [{"com.cloud.agent.api.CheckRouterCommand":{"a > ccessDetails":{"router.ip":"169.254.3.245","router.name":"r-38-VM"},"wait":30}}] > } > 2013-08-08 19:22:44,769 DEBUG [agent.transport.Request] > (RedundantRouterStatusMonitor-6:null) Seq 1-2062888873: Executing: { Cmd , > MgmtId: 7343890761426, via: 1, Ver: v1, Flags: 100011, > [{"com.cloud.agent.api.CheckRouterCommand": > 2013-08-08 19:22:45,116 INFO > [network.router.VirtualNetworkApplianceManagerImpl] > (RedundantRouterStatusMonitor-6:null) Redundant virtual router (name: > r-38-VM, id: 38) just switch from BACKUP to FAULT > 2013-08-08 19:22:45,344 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-270:null) Seq 1-2062888874: Response Received: > 2013-08-08 19:22:45,345 DEBUG [agent.transport.Request] > (DirectAgent-270:null) Seq 1-2062888874: Processing: { Ans: , MgmtId: > 7343890761426, via: 1, Ver: v1, Flags: 10, > [{"com.cloud.agent.api.CheckRouterAnswer":{"state":"FAULT"," > isBumped":false,"result":true,"details":"Status: FAULT (RTNETLINK answers: No > such process)&Bumped: NO","wait":0}}] } > 2013-08-08 19:22:45,345 DEBUG [agent.transport.Request] > (RedundantRouterStatusMonitor-6:null) Seq 1-2062888874: Received: { Ans: , > MgmtId: 7343890761426, via: 1, Ver: v1, Flags: 10, { CheckRouterAnswer } } > 2013-08-08 19:22:45,345 DEBUG [agent.manager.AgentManagerImpl] > (RedundantRouterStatusMonitor-6:null) Details from executing class > com.cloud.agent.api.CheckRouterCommand: Status: FAULT (RTNETLINK answers: No > such process)&Bumped: N > O > 2013-08-08 19:22:45,349 INFO > [network.router.VirtualNetworkApplianceManagerImpl] > (RedundantRouterStatusMonitor-6:null) Redundant virtual router (name: > r-38-VM, id: 38) just switch from BACKUP to FAULT > 2013-08-08 19:22:46,781 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-13:null) Ping from 2 > 2013-08-08 19:22:47,125 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-12:null) Ping from 3 > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira