You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rayees Namathponnan (JIRA)" <ji...@apache.org> on 2013/12/05 05:11:36 UTC

[jira] [Created] (CLOUDSTACK-5374) [Automation] Failed to copy ISO between zones;

Rayees Namathponnan created CLOUDSTACK-5374:
-----------------------------------------------

             Summary: [Automation] Failed to copy ISO between zones; 
                 Key: CLOUDSTACK-5374
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5374
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: ISO
    Affects Versions: 4.3.0
         Environment: KVM
Build : 4.3
            Reporter: Rayees Namathponnan
            Priority: Blocker
             Fix For: 4.3.0


Steps to reproduce 

1) Create Advanced zone in KVM,  required 2 zones
2) Register ISO http://people.apache.org/~tsp/dummy.iso to zone1 
3) Copy the ISO to second zone 

Result 

Copy operation failed with below error 


0.232:/export/home/rayees/SC_QA_AUTO4/secondary3:There is no secondary storage VM for downloading template to image store nfs://10.223.110.232:/export/home/rayees/SC_QA_AUTO4/secondary3
2013-12-04 20:07:22,451 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-115:ctx-5ccd1ece) Unexpected exception while executing org.apache.cloudstack.api.command.user.iso.CopyIsoCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to copy template
	at com.cloud.template.TemplateManagerImpl.copyTemplate(TemplateManagerImpl.java:745)
	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: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 com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)
	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 $Proxy159.copyTemplate(Unknown Source)
	at org.apache.cloudstack.api.command.user.template.CopyTemplateCmd.execute(CopyTemplateCmd.java:125)
	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
	at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
	at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
	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 com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
	at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:520)
	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.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)
2013-12-04 20:07:22,453 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-115:ctx-5ccd1ece) Complete async job-341, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed to copy template"}
2013-12-04 20:07:22,458 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-115:ctx-5ccd1ece) Done executing org.apache.cloudstack.api.command.user.iso.CopyIsoCmd for job-341
2013-12-04 20:0 



--
This message was sent by Atlassian JIRA
(v6.1#6144)