Murali Reddy created CLOUDSTACK-9536: ----------------------------------------
Summary: PVLAN: DhcpPvlanRules command bieng sent before processing finalize start command answers Key: CLOUDSTACK-9536 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9536 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Network Controller Affects Versions: 4.9.0, 4.8.0, 4.7.1, 4.6.2, 4.10.0.0 Reporter: Murali Reddy Fix For: 4.8.1, 4.10.0.0, 4.9.2.0 Creating shared network PVLAN fails to bring up the virtual router, as before processing finalize start answers, pvlan config commands are being sent to virtual router. Since finalize start answers are not processed, domr version is not set, when DhcpPvlanRules command is being sent. As, domr version is not set results in below excpetion. .254","mac":"02:00:50:db:00:0c","broadcastType":"Native","type":"Control","isSecurityGroupEnabled":false,"name":"vSwitch0,,vmwaresvs"}]},"_iqnToPath":{},"result":true,"wait":0}},{"com.cloud.agent.api.check.CheckSshAnswer":{"result":true,"wait":0}},{"com.cloud.agent.api.GetDomRVersionAnswer":{"templateVersion":"Cloudstack Release 4.6.0 Wed Nov 4 08:22:47 UTC 2015","scriptsVersion":"2832c2c6dbb9e709f882b3b5deac0a33\n","result":true,"details":"Cloudstack Release 4.6.0 Wed Nov 4 08:22:47 UTC 2015&2832c2c6dbb9e709f882b3b5deac0a33\n","wait":0}},{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-18-VM","bytesSent":0,"bytesReceived":0,"result":true,"details":"","wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"details":"Command aggregation started","wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.Answer":{"result":true,"details":"Command aggregation finished","wait":0}}] } 2016-10-07 04:32:25,179 DEBUG [c.c.a.t.Request] (Work-Job-Executor-1:ctx-27215679 job-104/job-105 ctx-0abbd993) Seq 2-7448953783670800399: Received: { Ans: , MgmtId: 6848862292054, via: 2(10.2.2.65), Ver: v1, Flags: 10, { StartAnswer, CheckSshAnswer, GetDomRVersionAnswer, NetworkUsageAnswer, Answer, Answer, Answer } } 2016-10-07 04:32:25,192 DEBUG [o.a.c.n.t.AdvancedNetworkTopology] (Work-Job-Executor-1:ctx-27215679 job-104/job-105 ctx-0abbd993) SETUP DHCP PVLAN RULES 2016-10-07 04:32:25,198 DEBUG [c.c.n.r.NetworkHelperImpl] (Work-Job-Executor-1:ctx-27215679 job-104/job-105 ctx-0abbd993) Router requires upgrade. Unable to send command to router:18, router template version : null, minimal required version : 4.6.0 2016-10-07 04:32:25,198 WARN [o.a.c.n.t.AdvancedNetworkVisitor] (Work-Job-Executor-1:ctx-27215679 job-104/job-105 ctx-0abbd993) Timed Out com.cloud.exception.ResourceUnavailableException: Resource [VirtualRouter:18] is unreachable: Unable to send command. Router requires upgrade at com.cloud.network.router.NetworkHelperImpl.sendCommandsToRouter(NetworkHelperImpl.java:168) at org.apache.cloudstack.network.topology.AdvancedNetworkVisitor.visit(AdvancedNetworkVisitor.java:184) at com.cloud.network.rules.DhcpPvlanRules.accept(DhcpPvlanRules.java:61) at org.apache.cloudstack.network.topology.AdvancedNetworkTopology.setupDhcpForPvlan(AdvancedNetworkTopology.java:131) at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.finalizeStart(VirtualNetworkApplianceManagerImpl.java:2098) at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1043) -- This message was sent by Atlassian JIRA (v6.3.4#6332)