Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4B7F10FD7 for ; Fri, 3 Jan 2014 01:09:51 +0000 (UTC) Received: (qmail 16063 invoked by uid 500); 3 Jan 2014 01:09:50 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 16022 invoked by uid 500); 3 Jan 2014 01:09:50 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 15968 invoked by uid 500); 3 Jan 2014 01:09:50 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 15949 invoked by uid 99); 3 Jan 2014 01:09:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 01:09:50 +0000 Date: Fri, 3 Jan 2014 01:09:50 +0000 (UTC) From: "Rayees Namathponnan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-5670) [Automation] VirtualRouter failed to stop with NullPointerException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rayees Namathponnan updated CLOUDSTACK-5670: -------------------------------------------- Attachment: management-server.rar > [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 > > Attachments: management-server.rar > > > 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)