Rayees Namathponnan created CLOUDSTACK-6333:
-----------------------------------------------

             Summary: [Automation] NPE observed while deleting account
                 Key: CLOUDSTACK-6333
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6333
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.4.0
         Environment: KVM 
            Reporter: Rayees Namathponnan
            Priority: Critical
             Fix For: 4.4.0


This issue observed in automation run, there are many account clean up failures 
with NPE

Also In Log observed "VM state transitted from :Expunging to Expunging", why we 
are changing state "Expunging to Expunging"

2014-04-02 17:19:45,664 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(AccountChecker-1:ctx-633521d3) Cleaning up NICS
2014-04-02 17:19:45,664 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(AccountChecker-1:ctx-633521d3) Cleaning network for vm: 455
2014-04-02 17:19:45,665 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(AccountChecker-1:ctx-633521d3) Cleaning up hypervisor data s
tructures (ex. SRs in XenServer) for managed storage
2014-04-02 17:19:45,669 WARN  [c.c.u.AccountManagerImpl] 
(AccountChecker-1:ctx-633521d3) Failed to cleanup account Acct[10b43
b95-f6e0-445f-acff-9c5cc450f59b-test-TestBaseImageUpdate-6JJ7ST] due to
java.lang.NullPointerException
        at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.disconnectVolumesFromHost(VolumeOrchestrator.java:867)
        at 
com.cloud.vm.VirtualMachineManagerImpl.advanceExpunge(VirtualMachineManagerImpl.java:527)
        at 
com.cloud.vm.VirtualMachineManagerImpl.advanceExpunge(VirtualMachineManagerImpl.java:463)
        at com.cloud.vm.UserVmManagerImpl.expunge(UserVmManagerImpl.java:1654)
        at sun.reflect.GeneratedMethodAccessor555.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.$Proxy205.expunge(Unknown Source)
        at 
com.cloud.user.AccountManagerImpl.cleanupAccount(AccountManagerImpl.java:651)
        at 
com.cloud.user.AccountManagerImpl$AccountCleanupTask.runInContext(AccountManagerImpl.java:1575)
        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)




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to