You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Kishan Kavala (JIRA)" <ji...@apache.org> on 2013/12/31 10:39:50 UTC

[jira] [Resolved] (CLOUDSTACK-5670) [Automation] VirtualRouter failed to stop with NullPointerException

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

Kishan Kavala resolved CLOUDSTACK-5670.
---------------------------------------

    Resolution: Cannot Reproduce

Works for me with the same sequence of steps

> [Automation] VirtualRouter failed to stop with NullPointerException
> -------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5670
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5670
>             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
>            Assignee: Kishan Kavala
>            Priority: Blocker
>             Fix For: 4.3.0
>
>
> Steps to reproduce 
> Step 1 : Create Advanced zone in kvm
> Step 2 : create an account
> Step  3 : deploy a   vm
> step 4 : make sure new router and vm got deployed
> step 5 : destroy the account 
> Expected result 
> account and corresponding router should be depleted 
> actual result 
> router delete failed with NPE
> 2013-12-28 22:53:34,600 DEBUG [c.c.a.t.Request] (StatsCollector-2:ctx-4c64000f) Seq 7-1306657158: Received:  { Ans: , MgmtId: 29066118877352, via: 7, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
> 2013-12-28 22:53:34,758 DEBUG [c.c.a.t.Request] (AgentManager-Handler-3:null) Seq 1-1538730432: Processing:  { Ans: , MgmtId: 29066118877352, via: 1, Ver: v1, Flags: 0, [{"com.cloud.agent.api.routing.IpAssocAnswer":{"results":["10.223.122.85 - success"],"result":true,"wait":0}}] }
> 2013-12-28 22:53:34,758 DEBUG [c.c.a.t.Request] (Network-Scavenger-1:ctx-2a427ae4) Seq 1-1538730432: Received:  { Ans: , MgmtId: 29066118877352, via: 1, Ver: v1, Flags: 0, { IpAssocAnswer } }
> 2013-12-28 22:53:34,760 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Network-Scavenger-1:ctx-2a427ae4) Sending network shutdown to VirtualRouter
> 2013-12-28 22:53:34,762 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Network-Scavenger-1:ctx-2a427ae4) Stopping router VM[DomainRouter|r-171-QA]
> 2013-12-28 22:53:34,762 WARN  [o.a.c.e.o.NetworkOrchestrator] (Network-Scavenger-1:ctx-2a427ae4) Unable to complete shutdown of the network elements due to element: VirtualRouter
> java.lang.NullPointerException
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1263)
>         at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.stop(VirtualNetworkApplianceManagerImpl.java:2698)
>         at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.stop(VirtualNetworkApplianceManagerImpl.java:139)
>         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 $Proxy240.stop(Unknown Source)
>         at com.cloud.network.element.VirtualRouterElement.shutdown(VirtualRouterElement.java:665)
>         at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.shutdownNetworkElementsAndResources(NetworkOrchestrator.java:2052)
>         at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.shutdownNetwork(NetworkOrchestrator.java:1965)
>         at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$NetworkGarbageCollector.reallyRun(NetworkOrchestrator.java:2305)
>         at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$NetworkGarbageCollector.runInContext(NetworkOrchestrator.java:2248)
>         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$Sync.innerRunAndReset(FutureTask.java:351)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)