[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rayees Namathponnan updated CLOUDSTACK-5280:
--------------------------------------------

    Attachment: CLOUDSTACK-5280.rar

> [Automation] Router LB configuration command failing with error "Cannot find 
> device "ethnull""
> ----------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5280
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5280
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Virtual Router
>    Affects Versions: 4.3.0
>         Environment: KVM 
> Branch : 4.3
>            Reporter: Rayees Namathponnan
>            Priority: Blocker
>             Fix For: 4.3.0
>
>         Attachments: CLOUDSTACK-5280.rar
>
>
> Router deployment failed in latest automation run;  failures observed while 
> configuring LB on  router, observed below error in agent log
> 2013-11-26 16:09:01,227 DEBUG [kvm.resource.LibvirtComputingResource] 
> (agentRequest-Handler-4:null) Execution is successful.
> 2013-11-26 16:09:01,228 DEBUG [cloud.agent.Agent] 
> (agentRequest-Handler-4:null) Seq 1-1142888957:  { Ans: , MgmtId: 
> 29066118877352, via: 1, Ver: v1, Flags: 10, 
> [{"com.cloud.agent.api.NetworkUsageAnswer":{"ro
> uterName":"r-870-QA","bytesSent":0,"bytesReceived":0,"result":true,"details":"","wait":0}}]
>  }
> 2013-11-26 16:09:01,280 DEBUG [cloud.agent.Agent] 
> (agentRequest-Handler-5:null) Processing command: 
> com.cloud.agent.api.NetworkUsageCommand
> 2013-11-26 16:09:01,281 DEBUG [kvm.resource.LibvirtComputingResource] 
> (agentRequest-Handler-5:null) Executing: 
> /usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh 
> vpc_netusage.sh 169.254.0.25 -
> l 10.223.122.113 -g
> 2013-11-26 16:09:01,912 DEBUG [kvm.resource.LibvirtComputingResource] 
> (agentRequest-Handler-5:null) Execution is successful.
> 2013-11-26 16:09:01,913 DEBUG [cloud.agent.Agent] 
> (agentRequest-Handler-5:null) Seq 1-1142888958:  { Ans: , MgmtId: 
> 29066118877352, via: 1, Ver: v1, Flags: 10, 
> [{"com.cloud.agent.api.NetworkUsageAnswer":{"ro
> uterName":"r-873-QA","bytesSent":0,"bytesReceived":0,"result":true,"details":"","wait":0}}]
>  }
> 2013-11-26 16:09:01,968 DEBUG [cloud.agent.Agent] 
> (agentRequest-Handler-3:null) Processing command: 
> com.cloud.agent.api.NetworkUsageCommand
> 2013-11-26 16:09:01,969 DEBUG [kvm.resource.LibvirtComputingResource] 
> (agentRequest-Handler-3:null) Executing: 
> /usr/share/cloudstack-common/scripts/network/domr/router_proxy.sh 
> vpc_netusage.sh 169.254.0.72 -
> l 10.223.122.115 -g
> 2013-11-26 16:09:02,556 DEBUG [kvm.resource.LibvirtComputingResource] 
> (agentRequest-Handler-3:null) Execution is successful.
> 2013-11-26 16:09:02,557 DEBUG [cloud.agent.Agent] 
> (agentRequest-Handler-3:null) Seq 1-1142888959:  { Ans: , MgmtId: 
> 29066118877352, via: 1, Ver: v1, Flags: 10, 
> [{"com.cloud.agent.api.NetworkUsageAnswer":{"ro
> uterName":"r-878-QA","bytesSent":0,"bytesReceived":0,"result":true,"details":"","wait":0}}]
>  }
> 2013-11-26 16:09:18,171 DEBUG [cloud.agent.Agent] 
> (agentRequest-Handler-4:null) Processing command: 
> com.cloud.agent.api.GetHostStatsCommand
> 2013-11-26 16:09:18,171 DEBUG [kvm.resource.LibvirtComputingResource] 
> (agentRequest-Handler-4:null) Executing: /bin/bash -c idle=$(top -b -n 1|grep 
> Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle
> 2013-11-26 16:09:18,798 DEBUG 
> [resource.virtualnetwork.VirtualRoutingResource] 
> (agentRequest-Handler-2:null) Execution is successful.
> 2013-11-26 16:09:18,798 DEBUG 
> [resource.virtualnetwork.VirtualRoutingResource] 
> (agentRequest-Handler-2:null) Device "ethnull" does not exist.
> Cannot find device "ethnull"
> arping: unknown iface ethnull
> arping: unknown iface ethnull
> Error: argument "Table_ethnull" is wrong: "table" value is invalid
> Error: argument "Table_ethnull" is wrong: "table" value is invalid
> RTNETLINK answers: No such process
> 2013-11-26 16:09:18,799 DEBUG [cloud.agent.Agent] 
> (agentRequest-Handler-2:null) Seq 1-1142888955:  { Ans: , MgmtId: 
> 29066118877352, via: 1, Ver: v1, Flags: 0, 
> [{"com.cloud.agent.api.routing.IpAssocAnswer":{"
> results":["10.223.122.112 - success"],"result":true,"wait":0}}] }
> MS log
> 2013-11-26 07:34:45,730 DEBUG [c.c.n.r.VpcVirtualNetworkApplianceManagerImpl] 
> (Job-Executor-75:ctx-250eed41 ctx-d5f10b1b) Deploying Virtual Router in VPC 
> [VPC [95-TestVPC-2H3078]
> 2013-11-26 07:34:45,746 DEBUG [c.c.n.NetworkModelImpl] 
> (Job-Executor-75:ctx-250eed41 ctx-d5f10b1b) Service SecurityGroup is not 
> supported in the network id=621
> 2013-11-26 07:34:45,765 DEBUG [c.c.n.NetworkModelImpl] 
> (Job-Executor-75:ctx-250eed41 ctx-d5f10b1b) Service SecurityGroup is not 
> supported in the network id=621
> 2013-11-26 07:34:45,771 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
> (Job-Executor-75:ctx-250eed41 ctx-d5f10b1b) Applying dhcp entry in network 
> Ntwk[621|Guest|207]
> 2013-11-26 07:34:45,791 DEBUG [c.c.a.t.Request] (Job-Executor-75:ctx-250eed41 
> ctx-d5f10b1b) Seq 1-1142888624: Sending  { Cmd , MgmtId: 29066118877352, via: 
> 1(Rack2Host11.lab.vmops.com), Ver: v1, Flags: 100011, 
> [{"com.cloud.agent.api.routing.DhcpEntryCommand":{"vmMac":"02:00:2d:20:00:03","vmIpAddress":"10.1.1.235","vmName":"QA-55c6dbcc-d7da-44fa-9754-2c77f49df5e6","defaultRouter":"10.1.1.1","duid":"00:03:00:01:02:00:2d:20:00:03","isDefault":true,"executeInSequence":false,"accessDetails":{"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.name":"r-878-QA","router.ip":"169.254.0.72"},"wait":0}}]
>  }
> 2013-11-26 07:34:46,704 DEBUG [c.c.a.t.Request] (AgentManager-Handler-3:null) 
> Seq 1-1142888624: Processing:  { Ans: , MgmtId: 29066118877352, via: 1, Ver: 
> v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}] }
> 2013-11-26 07:34:46,704 DEBUG [c.c.a.t.Request] (Job-Executor-75:ctx-250eed41 
> ctx-d5f10b1b) Seq 1-1142888624: Received:  { Ans: , MgmtId: 29066118877352, 
> via: 1, Ver: v1, Flags: 10, { Answer } }
> 2013-11-26 07:34:46,711 DEBUG [c.c.n.NetworkModelImpl] 
> (Job-Executor-75:ctx-250eed41 ctx-d5f10b1b) Service SecurityGroup is not 
> supported in the network id=621
> 2013-11-26 07:34:46,712 DEBUG [c.c.a.t.Request] (AgentManager-Handler-6:null) 
> Seq 1-1142888614: Processing:  { Ans: , MgmtId: 29066118877352, via: 1, Ver: 
> v1, Flags: 0, 
> [{"com.cloud.agent.api.Answer":{"result":false,"details":"LoadBalancerConfigCommand
>  failed","wait":0}}] }
> 2013-11-26 07:34:46,712 DEBUG [c.c.a.t.Request] 
> (UserVm-Scavenger-1:ctx-460f522d) Seq 1-1142888614: Received:  { Ans: , 
> MgmtId: 29066118877352, via: 1, Ver: v1, Flags: 0, { Answer } }
> 2013-11-26 07:34:46,712 WARN  [c.c.n.l.LoadBalancingRulesManagerImpl] 
> (UserVm-Scavenger-1:ctx-460f522d) Unable to apply the load balancer config 
> because resource is unavaliable.
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
> unreachable: Unable to apply loadbalancing rules on router
>         at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:3734)
>         at 
> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyLoadBalancingRules(VirtualNetworkApplianceManagerImpl.java:3582)
>         at sun.reflect.GeneratedMethodAccessor570.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at 
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at 
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at $Proxy239.applyLoadBalancingRules(Unknown Source)
>         at 
> com.cloud.network.element.VirtualRouterElement.applyLBRules(VirtualRouterElement.java:378)
>         at 
> com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLbRules(LoadBalancingRulesManagerImpl.java:1737)
>         at 
> com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLbRules(LoadBalancingRulesManagerImpl.java:2289)
>         at 
> com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:1774)
>         at 
> com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:1694)
>         at 
> com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancerInternal(LoadBalancingRulesManagerImpl.java:1284)
>         at 
> com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeVmFromLoadBalancers(LoadBalancingRulesManagerImpl.java:1346)
>         at sun.reflect.GeneratedMethodAccessor504.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to