cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajani Karuturi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-8773) NPE in CheckRouterTask, when a DomainRouter happens to be expunged at the same time
Date Wed, 26 Aug 2015 10:28:45 GMT

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

Rajani Karuturi resolved CLOUDSTACK-8773.
-----------------------------------------
    Resolution: Fixed

> NPE in CheckRouterTask, when a DomainRouter happens to be expunged at the same time
> -----------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8773
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8773
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.6.0
>            Reporter: Nick Livens
>            Assignee: Nick Livens
>            Priority: Minor
>
> During restart network of a tier with public LB, following exception occurred:
> {noformat:title=exception in management-server.log}
> 2015-07-24 02:09:06,086 DEBUG [c.c.a.t.Request] (Job-Executor-44:ctx-7e4a9dc8 ctx-f882738e)
Seq 1-59048436: Received:  { Ans: , MgmtId: 275619427002880, via: 1, Ver: v1, Flags: 10, {
Answer } }
> 2015-07-24 02:09:06,166 INFO  [o.a.c.s.v.VolumeServiceImpl] (Job-Executor-44:ctx-7e4a9dc8
ctx-f882738e) Volume 11 is not referred anywhere, remove it from volumes table
> 2015-07-24 02:09:06,263 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-44:ctx-7e4a9dc8
ctx-f882738e) Expunged VM[VpcInlineLoadBalancerVm|b-8-VM]
> 2015-07-24 02:09:06,391 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-f911e31d)
Found 2 routers to update status.
> 2015-07-24 02:09:06,393 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-f911e31d)
Fail to complete the CheckRouterTask!
>         java.lang.NullPointerException
>                 at com.cloud.network.vpn.Site2SiteVpnManagerImpl.getConnectionsForRouter(Site2SiteVpnManagerImpl.java:732)
>                 at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown Source)
>                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>                 at java.lang.reflect.Method.invoke(Method.java:606)
>                 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 com.sun.proxy.$Proxy206.getConnectionsForRouter(Unknown Source)
>                 at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.updateSite2SiteVpnConnectionState(VirtualNetworkApplianceManagerImpl.java:1044)
>                 at com.cloud.network.router.VirtualNetworkApplianceManagerImpl$CheckRouterTask.runInContext(VirtualNetworkApplianceManagerImpl.java:1348)
>                 at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>                 at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>                 at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>                 at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>                 at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>                 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>                 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
>                 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>                 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>                 at java.lang.Thread.run(Thread.java:745)
>         2015-07-24 02:09:06,580 DEBUG [c.c.n.l.VpcInlineLoadBalancerVMManagerImpl] (Job-Executor-44:ctx-7e4a9dc8
ctx-f882738e) Attempting to destroy VpcInline LB vm 8
>         2015-07-24 02:09:06,586 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-44:ctx-7e4a9dc8
ctx-f882738e) Sending network shutdown to NuageVspVpc
>         2015-07-24 02:09:06,605 DEBUG [c.c.n.NetworkModelImpl] (Job-Executor-44:ctx-7e4a9dc8
ctx-f882738e) Service SecurityGroup is not supported in the network id=205
>         2015-07-24 02:09:06,616 DEBUG [c.c.n.NetworkModelImpl] (Job-Executor-44:ctx-7e4a9dc8
ctx-f882738e) Service SecurityGroup is not supported in the network id=205
>         2015-07-24 02:09:06,638 DEBUG [c.c.a.t.Request] (Job-Executor-44:ctx-7e4a9dc8
ctx-f882738e) Seq 2-1517683227: Sending  { Cmd , MgmtId: 275619427002880, via: 2(ovs-5.mvdcdev40.us.alcatel-lucent.com),
Ver: v1, Flags: 100111, [{"com.cloud.agent.api.SetupGuestNetworkCommand":{"dhcpRange":"10.2.0.1","networkDomain":"cs2cloud.internal","isRedundant":false,"add":false,"nic":{"deviceId":3,"networkRateMbps":200,"defaultNic":false,"uuid":"23f1bfb6-c108-450e-9e64-07bd7bb925de","ip":"10.2.0.2","netmask":"255.255.255.0","gateway":"10.2.0.1","mac":"02:00:4d:62:00:06","broadcastType":"Vsp","type":"Guest","broadcastUri":"vsp://eda2664c-510a-413d-865d-cae1e81e2492/10.2.0.2","isolationUri":"vsp://eda2664c-510a-413d-865d-cae1e81e2492/10.2.0.2","isSecurityGroupEnabled":false,"name":"alubr0"},"accessDetails":{"router.guest.ip":"10.2.0.2","guest.network.gateway":"10.2.0.1","guest.bridge":"10.2.0.255","router.name":"r-3-VM","router.ip":"169.254.1.218"},"wait":0}}]
}
>         2015-07-24 02:09:06,972 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-10:null)
SeqA 4-2186: Processing Seq 4-2186:  { Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n
 \"connections\": []\n}","wait":0}}] }
>         2015-07-24 02:09:07,122 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-10:null)
SeqA 4-2186: Sending Seq 4-2186:  { Ans: , MgmtId: 275619427002880, via: 4, Ver: v1, Flags:
100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
>         2015-07-24 02:09:08,241 DEBUG [c.c.a.ApiServlet] (catalina-exec-13:ctx-5fb5fd39)
===START===  135.227.144.153 -- GET  command=queryAsyncJobResult&jobId=923f4918-7b64-49d5-ad77-c57d876ef485&response=json&sessionkey=5QOFysAGycdMBRGtgQ7uSCOYwLE%3D&_=1437703748233
> {noformat}
> DomainRouterDao.listIsolatedByHostId() will return a null element in the result list,
when a Domain Router is being expunged.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message