Rohit Yadav created CLOUDSTACK-8224:
---------------------------------------

             Summary: CloudStack 4.5 showing lock related exceptions (seems 
harmless)
                 Key: CLOUDSTACK-8224
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8224
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.5.0
            Reporter: Rohit Yadav
            Assignee: Rohit Yadav
            Priority: Critical
             Fix For: 4.5.0, 4.6.0


INFO  [o.a.c.s.v.VolumeServiceImpl] (Work-Job-Executor-2:ctx-3151b87e 
job-2/job-11 ctx-7dcbb1dd) releasing lock for VMTemplateStoragePool 1
WARN  [c.c.u.d.Merovingian2] (Work-Job-Executor-2:ctx-3151b87e job-2/job-11 
ctx-7dcbb1dd) Was unable to find lock for the key template_spool_ref1 and 
thread id 1121063028
com.cloud.utils.exception.CloudRuntimeException: Was unable to find lock for 
the key template_spool_ref1 and thread id 1121063028
        at com.cloud.utils.db.Merovingian2.release(Merovingian2.java:274)
        at 
com.cloud.utils.db.TransactionLegacy.release(TransactionLegacy.java:397)
        at 
com.cloud.utils.db.GenericDaoBase.releaseFromLockTable(GenericDaoBase.java:1045)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        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 
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
        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.$Proxy75.releaseFromLockTable(Unknown Source)
        at 
org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(VolumeServiceImpl.java:513)
        at 
org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTemplateAsync(VolumeServiceImpl.java:747)
        at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1252)
        at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1322)
        at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:982)
        at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:4471)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
        at 
com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4627)
        at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:103)
        at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:536)
        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 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:493)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        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)
INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-ec78d55a) 
Begin cleanup expired async-jobs
INFO  [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-ec78d55a) 
End cleanup expired async-jobs
INFO  [o.a.c.s.v.VolumeServiceImpl] (Work-Job-Executor-1:ctx-af771f63 
job-1/job-10 ctx-7c865107) lock is acquired for VMTemplateStoragePool 1
INFO  [o.a.c.s.v.VolumeServiceImpl] (Work-Job-Executor-1:ctx-af771f63 
job-1/job-10 ctx-7c865107) Template routing-3 is already copied to primary 
storage, skip copying
INFO  [o.a.c.s.v.VolumeServiceImpl] (Work-Job-Executor-1:ctx-af771f63 
job-1/job-10 ctx-7c865107) releasing lock for VMTemplateStoragePool 1




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

Reply via email to