Re: Unable to start primary and secondary storage instances

2014-06-15 Thread sebgoa

On Jun 13, 2014, at 8:52 PM, Elapavuluri, Jaya jaya.elapavul...@netapp.com 
wrote:

 Hello,
 
 I am trying to run the cloudstack (4.4), where the following are warnings 
 shown,
 
 Unable to acquire lock on storage vm
 WARN  [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-23287615) 
 Exception while trying to start secondary storage vm
 java.lang.RuntimeException: Job failed due to exception Resource [Host:1] is 
 unreachable: Host 1: Unable to start instance due to Unable to acquire lock 
 on VMTemplateStoragePool: 66
   at 
 com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:114)
   at 
 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
   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:460)
   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.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-23287615) 
 Unable to start secondary storage vm for standby capacity, secStorageVm vm Id 
 : 57, will recycle it and start a new one
 INFO  [o.a.c.s.PremiumSecondaryStorageManagerImpl] 
 (secstorage-1:ctx-23287615) Primary secondary storage is not even started, 
 wait until next turn
 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-25:ctx-8555714b 
 job-276/job-301) Remove job-301
 
 
 Could some one help me on this.
 
What are you using for secondary storage ?
Is it available/mounted on the hypervisors ?



Unable to start primary and secondary storage instances

2014-06-13 Thread Elapavuluri, Jaya
Hello,

I am trying to run the cloudstack (4.4), where the following are warnings shown,

Unable to acquire lock on storage vm
WARN  [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-23287615) 
Exception while trying to start secondary storage vm
java.lang.RuntimeException: Job failed due to exception Resource [Host:1] is 
unreachable: Host 1: Unable to start instance due to Unable to acquire lock on 
VMTemplateStoragePool: 66
   at 
com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:114)
   at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
   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:460)
   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.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-23287615) Unable 
to start secondary storage vm for standby capacity, secStorageVm vm Id : 57, 
will recycle it and start a new one
INFO  [o.a.c.s.PremiumSecondaryStorageManagerImpl] (secstorage-1:ctx-23287615) 
Primary secondary storage is not even started, wait until next turn
INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-25:ctx-8555714b 
job-276/job-301) Remove job-301


Could some one help me on this.