Min Chen created CLOUDSTACK-3335:
------------------------------------
Summary: [Object_Store_Refactor][Automation]CopyTemplate failed
with Unexpected exception.
Key: CLOUDSTACK-3335
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3335
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Template
Reporter: Min Chen
Priority: Critical
2013-06-28 00:10:03,595 DEBUG [agent.transport.Request]
(Job-Executor-77:ctx-88a26d7f) Seq 5-2752695: Sending { Cmd , MgmtId:
29066118877352, via: 5, Ver: v1, Flags: 100111,
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/36/207/207-36-a909c1a7-d398-3c9e-9917-965467b88bae.iso","origUrl":"http://people.apache.org/~tsp/dummy.iso","uuid":"18ee721d-f37d-4eb4-b552-4d60abd0db0a","id":207,"format":"ISO","accountId":36,"checksum":"b11099d68763f87ee90eab7af1d4dd1e","hvm":true,"displayText":"Test
ISO
2","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.232/export/home/rayees/SC_QA_AUTO4/secondary","_role":"Image"}},"name":"207-36-a909c1a7-d398-3c9e-9917-965467b88bae"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/36/207","origUrl":"http://people.apache.org/~tsp/dummy.iso","uuid":"18ee721d-f37d-4eb4-b552-4d60abd0db0a","id":207,"format":"ISO","accountId":36,"checksum":"b11099d68763f87ee90eab7af1d4dd1e","hvm":true,"displayText":"Test
ISO
2","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.232/export/home/rayees/SC_QA_AUTO4/secondary3","_role":"Image"}},"name":"207-36-a909c1a7-d398-3c9e-9917-965467b88bae"}},"wait":10800}}]
}
2013-06-28 00:10:03,943 DEBUG [agent.transport.Request]
(AgentManager-Handler-2:null) Seq 5-2752695: Processing: { Ans: , MgmtId:
29066118877352, via: 5, Ver: v1, Flags: 110,
[{"com.cloud.agent.api.UnsupportedAnswer":{"result":false,"details":"Unsupported
command issued:org.apache.cloudstack.storage.command.CopyCommand. Are you
sure you got the right type of server?","wait":0}}] }
2013-06-28 00:10:03,943 DEBUG [agent.manager.AgentAttache]
(AgentManager-Handler-2:null) Seq 5-2752695: No more commands found
2013-06-28 00:10:03,943 DEBUG [agent.transport.Request]
(Job-Executor-77:ctx-88a26d7f) Seq 5-2752695: Received: { Ans: , MgmtId:
29066118877352, via: 5, Ver: v1, Flags: 110, { UnsupportedAnswer } }
2013-06-28 00:10:03,943 WARN [agent.manager.AgentManagerImpl]
(Job-Executor-77:ctx-88a26d7f) Unsupported Command: Unsupported command
issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got
the right type of server?
2013-06-28 00:10:03,946 DEBUG [cloud.template.TemplateManagerImpl]
(Job-Executor-77:ctx-88a26d7f) copy template failed for image store
ss2:Unsupported command
issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got
the right type of server?
2013-06-28 00:10:03,947 DEBUG [db.Transaction.Transaction]
(Job-Executor-77:ctx-88a26d7f) Rolling back the transaction: Time = 364 Name =
-AsyncJobManagerImpl$1.run:493-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRun:334-FutureTask.run:166-ThreadPoolExecutor.runWorker:1110-ThreadPoolExecutor$Worker.run:603-Thread.run:679;
called by
-Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-TransactionContextBuilder.interceptComplete:56-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:131-TemplateManagerImpl.copyTemplate:723-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-CopyTemplateCmd.execute:124-ApiDispatcher.dispatch:154-ApiAsyncJobDispatcher.runJob:93-AsyncJobManagerImpl$1.run:522-Executors$RunnableAdapter.call:471
2013-06-28 00:10:03,968 DEBUG [cloudstack.context.CallContext]
(Job-Executor-77:ctx-88a26d7f) Context removed CallContext[acct=1; user=1;
session=88a26d7f-a202-49a1-8ae1-91c586623fc2]
2013-06-28 00:10:03,969 ERROR [cloud.api.ApiAsyncJobDispatcher]
(Job-Executor-77:null) 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:728)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at
org.apache.cloudstack.api.command.user.template.CopyTemplateCmd.execute(CopyTemplateCmd.java:124)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:154)
at
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:93)
at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:522)
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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira