[jira] [Reopened] (CLOUDSTACK-2481) Object_Store_Refactor - Templates - Not able to create a template from snapshot.

2013-07-29 Thread Sanjeev N (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sanjeev N reopened CLOUDSTACK-2481:
---


Verified this on Today's build. I still see the issue with VMWare cluster.
Storage used is NFS for both primary(cluster level) and secondary .

Observations:
===
2013-07-29 09:12:41,103 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) 
===START===  10.146.0.20 -- GET  
command=createTemplate&response=json&sessionkey=%2BFPenbp5rPeS7NG2g1sVBwdG7DM%3D&snapshotid=4186ec6b-81f0-495f-ab04-19e661947280&name=vm1-esx&displayText=vm1-esx&osTypeId=69dcda2a-f846-11e2-9888-06045a66&isPublic=true&passwordEnabled=false&isdynamicallyscalable=false&_=1375103561437
2013-07-29 09:12:41,237 DEBUG [cloud.template.TemplateManagerImpl] 
(catalina-exec-17:null) This template is getting created from other template, 
setting source template Id to: 7
2013-07-29 09:12:41,294 DEBUG [cloud.async.AsyncJobManagerImpl] 
(catalina-exec-17:null) submit async job-21 = [ 
4cc0ba40-5d27-4231-95af-e88b2eac80f4 ], details: AsyncJobVO {id:21, userId: 2, 
accountId: 2, sessionKey: null, instanceType: Template, instanceId: 203, cmd: 
org.apache.cloudstack.api.command.user.template.CreateTemplateCmd, 
cmdOriginator: null, cmdInfo: 
{"sessionkey":"+FPenbp5rPeS7NG2g1sVBwdG7DM\u003d","cmdEventType":"TEMPLATE.CREATE","ctxUserId":"2","httpmethod":"GET","osTypeId":"69dcda2a-f846-11e2-9888-06045a66","isPublic":"true","isdynamicallyscalable":"false","response":"json","id":"203","displayText":"vm1-esx","snapshotid":"4186ec6b-81f0-495f-ab04-19e661947280","passwordEnabled":"false","name":"vm1-esx","_":"1375103561437","ctxAccountId":"2","ctxStartEventId":"78"},
 cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
processStatus: 0, resultCode: 0, result: null, initMsid: 6615759585382, 
completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2013-07-29 09:12:41,298 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) 
===END===  10.146.0.20 -- GET  
command=createTemplate&response=json&sessionkey=%2BFPenbp5rPeS7NG2g1sVBwdG7DM%3D&snapshotid=4186ec6b-81f0-495f-ab04-19e661947280&name=vm1-esx&displayText=vm1-esx&osTypeId=69dcda2a-f846-11e2-9888-06045a66&isPublic=true&passwordEnabled=false&isdynamicallyscalable=false&_=1375103561437
2013-07-29 09:12:41,301 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-21:job-21 = [ 4cc0ba40-5d27-4231-95af-e88b2eac80f4 ]) Executing 
org.apache.cloudstack.api.command.user.template.CreateTemplateCmd for job-21 = 
[ 4cc0ba40-5d27-4231-95af-e88b2eac80f4 ]
2013-07-29 09:12:41,351 DEBUG [storage.image.TemplateDataFactoryImpl] 
(Job-Executor-21:job-21 = [ 4cc0ba40-5d27-4231-95af-e88b2eac80f4 ]) template 
203 is already in store:1, type:Image
2013-07-29 09:12:41,365 DEBUG [storage.motion.AncientDataMotionStrategy] 
(Job-Executor-21:job-21 = [ 4cc0ba40-5d27-4231-95af-e88b2eac80f4 ]) copyAsync 
inspecting src type SNAPSHOT copyAsync inspecting dest type TEMPLATE
2013-07-29 09:12:41,426 DEBUG [agent.transport.Request] (Job-Executor-21:job-21 
= [ 4cc0ba40-5d27-4231-95af-e88b2eac80f4 ]) Seq 3-105971776: Sending  { Cmd , 
MgmtId: 6615759585382, via: 3, Ver: v1, Flags: 100011, 
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/2/4/9014dc0f-fada-4a35-adb5-50872299cdb7/9014dc0f-fada-4a35-adb5-50872299cdb7","volume":{"uuid":"5dbcc8b8-c649-4fc8-bb41-00ed572fec22","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"468ecd4b-14a6-3b7d-8991-c9dd7427b94a","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/sanjeev/pri_esx_os","port":2049}},"name":"ROOT-4","size":0,"path":"ROOT-4-4","volumeId":4,"vmName":"i-2-4-VM","accountId":2,"format":"OVA","id":4,"hypervisorType":"None"},"dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.147.28.7/export/home/sanjeev/sec_esx_os","_role":"Image"}},"vmName":"i-2-4-VM","name":"vm1-esx_ROOT-4_20130729124015","hypervisorType":"None","id":2}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/203","uuid":"3b26874f-ade3-41e9-b726-9c9b03b065c3","id":203,"format":"RAW","accountId":2,"hvm":true,"displayText":"vm1-esx","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.147.28.7/export/home/sanjeev/sec_esx_os","_role":"Image"}},"name":"258462a2f-df47-397c-8017-95d575a55aee","hypervisorType":"None"}},"executeInSequence":false,"wait":10800}}]
 }
2013-07-29 09:12:41,526 DEBUG [agent.transport.Request] 
(AgentManager-Handler-7:null) Seq 3-105971776: Processing:  { Ans: , MgmtId: 
6615759585382, via: 3, Ver: v1, Flags: 10, 
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"","wait":0}}]
 }
2013-07-29 09:12:41,526 DEBUG [agent.transport.Request] (Job-Executor-21:job-21 
= [ 4cc0ba40-5d27-4231-95af-e88b2eac80f4 ]) Seq 3-105971

[jira] [Reopened] (CLOUDSTACK-2481) Object_Store_Refactor - Templates - Not able to create a template from snapshot.

2013-07-24 Thread Sanjeev N (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sanjeev N reopened CLOUDSTACK-2481:
---


Verified this bug on the latest ACS 4.2 build. I still see the issue.
Template creation failed with CloudRuntimeException: Failed to create 
templatetimeout

Log snippet from management server log file:
===
2013-07-25 01:49:15,300 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) 
===START===  10.146.0.20 -- GET  
command=createTemplate&response=json&sessionkey=WZF71LaQge%2FCxbMvbNdG7KLOOkM%3D&snapshotid=0c8fccb2-8804-45ad-a245-00c4a0e117b0&name=CS-2481&displayText=CS-2481&osTypeId=c893a654-f367-11e2-97d7-06045a66&isPublic=true&passwordEnabled=false&isdynamicallyscalable=false&_=1374731355190
2013-07-25 01:49:15,459 DEBUG [cloud.template.TemplateManagerImpl] 
(catalina-exec-13:null) This template is getting created from other template, 
setting source template Id to: 5
2013-07-25 01:49:15,523 DEBUG [cloud.async.AsyncJobManagerImpl] 
(catalina-exec-13:null) submit async job-93 = [ 
a0ada67d-899c-4147-9adb-2d5a0fc15c91 ], details: AsyncJobVO {id:93, userId: 2, 
accountId: 2, sessionKey: null, instanceType: Template, instanceId: 202, cmd: 
org.apache.cloudstack.api.command.user.template.CreateTemplateCmd, 
cmdOriginator: null, cmdInfo: 
{"sessionkey":"WZF71LaQge/CxbMvbNdG7KLOOkM\u003d","cmdEventType":"TEMPLATE.CREATE","ctxUserId":"2","httpmethod":"GET","osTypeId":"c893a654-f367-11e2-97d7-06045a66","isPublic":"true","isdynamicallyscalable":"false","response":"json","id":"202","displayText":"CS-2481","snapshotid":"0c8fccb2-8804-45ad-a245-00c4a0e117b0","passwordEnabled":"false","name":"CS-2481","_":"1374731355190","ctxAccountId":"2","ctxStartEventId":"366"},
 cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
processStatus: 0, resultCode: 0, result: null, initMsid: 6615759585382, 
completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2013-07-25 01:49:15,527 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) 
===END===  10.146.0.20 -- GET  
command=createTemplate&response=json&sessionkey=WZF71LaQge%2FCxbMvbNdG7KLOOkM%3D&snapshotid=0c8fccb2-8804-45ad-a245-00c4a0e117b0&name=CS-2481&displayText=CS-2481&osTypeId=c893a654-f367-11e2-97d7-06045a66&isPublic=true&passwordEnabled=false&isdynamicallyscalable=false&_=1374731355190
2013-07-25 01:49:15,530 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-19:job-93 = [ a0ada67d-899c-4147-9adb-2d5a0fc15c91 ]) Executing 
org.apache.cloudstack.api.command.user.template.CreateTemplateCmd for job-93 = 
[ a0ada67d-899c-4147-9adb-2d5a0fc15c91 ]
2013-07-25 01:49:15,580 DEBUG [storage.image.TemplateDataFactoryImpl] 
(Job-Executor-19:job-93 = [ a0ada67d-899c-4147-9adb-2d5a0fc15c91 ]) template 
202 is already in store:1, type:Image
2013-07-25 01:49:15,596 DEBUG [storage.motion.AncientDataMotionStrategy] 
(Job-Executor-19:job-93 = [ a0ada67d-899c-4147-9adb-2d5a0fc15c91 ]) copyAsync 
inspecting src type SNAPSHOT copyAsync inspecting dest type TEMPLATE
2013-07-25 01:49:15,663 DEBUG [agent.transport.Request] (Job-Executor-19:job-93 
= [ a0ada67d-899c-4147-9adb-2d5a0fc15c91 ]) Seq 3-875365393: Sending  { Cmd , 
MgmtId: 6615759585382, via: 3, Ver: v1, Flags: 100011, 
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/2/24/53c10659-48cd-4c45-9da2-2b53bab80b3d","volume":{"uuid":"beb7a932-aa9c-45a4-ba62-ee54b284cf6d","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"c65a038a-750c-3b4f-bf26-7ce3b74e1c85","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/sanjeev/pri_xen_os","port":2049}},"name":"ROOT-14","size":21474836480,"path":"10eb79a0-3d16-49e6-84f3-92f5767a30bd","volumeId":24,"vmName":"i-2-14-VM","accountId":2,"format":"VHD","id":24},"dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.147.28.7/export/home/sanjeev/sec_xen_os","_role":"Image"}},"vmName":"i-2-14-VM","name":"storage-gc_ROOT-14_20130725054019","hypervisorType":"XenServer","id":22}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/202","uuid":"90bac93d-b873-4042-aa7d-f1adfbd71d36","id":202,"format":"RAW","accountId":2,"hvm":true,"displayText":"CS-2481","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.147.28.7/export/home/sanjeev/sec_xen_os","_role":"Image"}},"name":"246cb2165-0311-3110-bb89-b64e553bb510"}},"executeInSequence":false,"wait":10800}}]
 }
2013-07-25 01:49:27,004 DEBUG [agent.transport.Request] (Job-Executor-19:job-93 
= [ a0ada67d-899c-4147-9adb-2d5a0fc15c91 ]) Seq 3-875365393: Received:  { Ans: 
, MgmtId: 6615759585382, via: 3, Ver: v1, Flags: 10, { CopyCmdAnswer } }
2013-07-25 01:49:27,021 DEBUG [cloud.template.TemplateManagerImpl] 
(Job-Executor-19:job-93 = [ a0ada67d-899c-4147-9adb-2d5a0fc15c91 ]) Failed 

[jira] [Reopened] (CLOUDSTACK-2481) Object_Store_Refactor - Templates - Not able to create a template from snapshot.

2013-07-11 Thread Abhinav Roy (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhinav Roy reopened CLOUDSTACK-2481:
-


Re-opening the issue (different error but the problem is same) as it was seen 
again, here is the snippet from management server logs :
-

2013-07-12 12:08:18,904 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) 
===START===  10.144.6.28 -- GET  
command=createTemplate&response=json&sessionkey=KJzfqj8p31BhEJDGDQzf68sQqrQ%3D&snapshotid=e05c02da-1a58-4f3c-89e7-83ecf86e7141&name=ttt&displayText=ttt&osTypeId=738de398-e9f5-11e2-9f70-fef34996d384&isPublic=true&passwordEnabled=false&_=1373611256442
2013-07-12 12:08:18,930 DEBUG [cloud.template.TemplateManagerImpl] 
(catalina-exec-8:null) This template is getting created from other template, 
setting source template Id to: 5
2013-07-12 12:08:18,993 DEBUG [cloud.async.AsyncJobManagerImpl] 
(catalina-exec-8:null) submit async job-48, details: AsyncJobVO {id:48, userId: 
2, accountId: 2, sessionKey: null, instanceType: Template, instanceId: 206, 
cmd: org.apache.cloudstack.api.command.user.template.CreateTemplateCmd, 
cmdOriginator: null, cmdInfo: 
{"sessionkey":"KJzfqj8p31BhEJDGDQzf68sQqrQ\u003d","cmdEventType":"TEMPLATE.CREATE","ctxUserId":"2","httpmethod":"GET","osTypeId":"738de398-e9f5-11e2-9f70-fef34996d384","isPublic":"true","response":"json","id":"206","displayText":"ttt","snapshotid":"e05c02da-1a58-4f3c-89e7-83ecf86e7141","passwordEnabled":"false","name":"ttt","_":"1373611256442","ctxAccountId":"2","ctxStartEventId":"168"},
 cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
processStatus: 0, resultCode: 0, result: null, initMsid: 280320865129348, 
completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2013-07-12 12:08:18,995 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) 
===END===  10.144.6.28 -- GET  
command=createTemplate&response=json&sessionkey=KJzfqj8p31BhEJDGDQzf68sQqrQ%3D&snapshotid=e05c02da-1a58-4f3c-89e7-83ecf86e7141&name=ttt&displayText=ttt&osTypeId=738de398-e9f5-11e2-9f70-fef34996d384&isPublic=true&passwordEnabled=false&_=1373611256442
2013-07-12 12:08:18,997 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-5:job-48) Executing 
org.apache.cloudstack.api.command.user.template.CreateTemplateCmd for job-48
2013-07-12 12:08:19,066 DEBUG [storage.motion.AncientDataMotionStrategy] 
(Job-Executor-5:job-48) copyAsync inspecting src type SNAPSHOT copyAsync 
inspecting dest type TEMPLATE
2013-07-12 12:08:19,104 DEBUG [agent.transport.Request] (Job-Executor-5:job-48) 
Seq 2-285868054: Sending  { Cmd , MgmtId: 280320865129348, via: 2, Ver: v1, 
Flags: 100111, 
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":"snapshots/2/3/2beb685c-4716-4ec6-95ef-da184c8a4e19","volume":{"uuid":"5f1e4d5c-d284-4018-b4f2-2175bb0b06ab","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"72f2a3a4-25df-395c-a03b-42d0f51ca589","id":2,"poolType":"IscsiLUN","host":"10.102.192.101","path":"/iqn.2004-04.com.qnap:ts-659proii:iscsi.lun3.cf5b54/0","port":3260}},"name":"ROOT-3","size":21474836480,"path":"c31d6f61-d336-4515-94a8-fdf6b734c1d8","volumeId":3,"vmName":"i-2-3-VM","accountId":2,"format":"VHD","id":3},"dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.102.192.100/cpg_vol/abhinav/xen42-sec","_role":"Image"}},"vmName":"i-2-3-VM","name":"v1_ROOT-3_20130711095813","hypervisorType":"XenServer","id":1}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/206","uuid":"0e5e413d-8997-4090-964b-15d75a49f6d1","id":206,"format":"RAW","accountId":2,"hvm":true,"displayText":"ttt","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.102.192.100/cpg_vol/abhinav/xen42-sec","_role":"Image"}},"name":"299907751-55c3-318a-8d79-17f7780b24aa"}},"wait":10800}}]
 }
2013-07-12 12:08:19,221 DEBUG [agent.transport.Request] 
(AgentManager-Handler-7:null) Seq 2-285868054: Processing:  { Ans: , MgmtId: 
280320865129348, via: 2, Ver: v1, Flags: 110, 
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"/usr/local/cloud/systemvm/scripts/storage/secondary/create_privatetemplate_from_snapshot_xen.sh:
 line 65: /bin/vhd-util: Permission denied30#failed to query 
/mnt/SecStorage/ff05d1cd-034d-3032-9adc-3d7451d838fb/snapshots/2/3/2beb685c-4716-4ec6-95ef-da184c8a4e19.vhd","wait":0}}]
 }
2013-07-12 12:08:19,221 DEBUG [agent.manager.AgentAttache] 
(AgentManager-Handler-7:null) Seq 2-285868054: No more commands found
2013-07-12 12:08:19,221 DEBUG [agent.transport.Request] (Job-Executor-5:job-48) 
Seq 2-285868054: Received:  { Ans: , MgmtId: 280320865129348, via: 2, Ver: v1, 
Flags: 110, { CopyCmdAnswer } }
2013-07-12 12:08:19,249 DEBUG [cloud.template.TemplateManagerImpl] 
(Job-Executor-5:job-48) Failed to creat

[jira] [Reopened] (CLOUDSTACK-2481) Object_Store_Refactor - Templates - Not able to create a template from snapshot.

2013-06-17 Thread Sangeetha Hariharan (JIRA)

 [ 
https://issues.apache.org/jira/browse/CLOUDSTACK-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sangeetha Hariharan reopened CLOUDSTACK-2481:
-


Reopening this issue to  include vhd-util as part of system Vm templates.

> Object_Store_Refactor - Templates - Not able to create a template from 
> snapshot.
> 
>
> Key: CLOUDSTACK-2481
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2481
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Management Server
>Affects Versions: 4.2.0
> Environment: Build from object store
>Reporter: Sangeetha Hariharan
>Assignee: edison su
>Priority: Critical
> Fix For: 4.2.0
>
>
> Steps to reproduce the problem:
> Deploy a VM.
> Take a snapshot of the root volume.
> Create a template from this snapshot.
> API fails with following error message:
> "DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@bb917d1: DELETE FROM 
> vm_template WHERE vm_template.id= 203"
> Management server logs:
> 2013-05-14 09:32:33,964 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) 
> ===START===  10.217.252.128 -- GET  command=createTemplate&response=json
> &sessionkey=X%2FK09rgZ%2BYIUuGYkv7UGa0FoBEc%3D&snapshotid=d44ae73f-3cbd-49d3-8964-6c3325c24286&name=template1&displayText=template1&osTypeId=fce76ff
> 6-bc28-11e2-8a23-6a01c7e420f0&isPublic=true&passwordEnabled=false&_=1368552572710
> 2013-05-14 09:32:34,059 DEBUG [cloud.template.TemplateManagerImpl] 
> (catalina-exec-3:null) This template is getting created from other template, 
> sett
> ing source template Id to: 202
> 2013-05-14 09:32:34,118 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (catalina-exec-3:null) submit async job-18, details: AsyncJobVO {id:18, 
> userId: 2, a
> ccountId: 2, sessionKey: null, instanceType: Template, instanceId: 203, cmd: 
> org.apache.cloudstack.api.command.user.template.CreateTemplateCmd, cmdO
> riginator: null, cmdInfo: 
> {"sessionkey":"X/K09rgZ+YIUuGYkv7UGa0FoBEc\u003d","ctxUserId":"2","httpmethod":"GET","osTypeId":"fce76ff6-bc28-11e2-8a23-6
> a01c7e420f0","isPublic":"true","response":"json","id":"203","displayText":"template1","snapshotid":"d44ae73f-3cbd-49d3-8964-6c3325c24286","passwordE
> nabled":"false","name":"template1","_":"1368552572710","ctxAccountId":"2","ctxStartEventId":"61"},
>  cmdVersion: 0, callbackType: 0, callbackAddress:
> null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 
> 206915885079359, completeMsid: null, lastUpdated: null, lastPolled: null,
> created: null}
> 2013-05-14 09:32:34,119 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-20:job-18) Executing 
> org.apache.cloudstack.api.command.user.template.C
> reateTemplateCmd for job-18
> 2013-05-14 09:32:34,122 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) 
> ===END===  10.217.252.128 -- GET  command=createTemplate&response=json&s
> essionkey=X%2FK09rgZ%2BYIUuGYkv7UGa0FoBEc%3D&snapshotid=d44ae73f-3cbd-49d3-8964-6c3325c24286&name=template1&displayText=template1&osTypeId=fce76ff6-
> bc28-11e2-8a23-6a01c7e420f0&isPublic=true&passwordEnabled=false&_=1368552572710
> 2013-05-14 09:32:34,207 DEBUG [agent.transport.Request] 
> (Job-Executor-20:job-18) Seq 3-178062289: Sending  { Cmd , MgmtId: 
> 206915885079359, via: 3,
> Ver: v1, Flags: 100111, 
> [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.SnapshotObjectTO":{"path":
> "snapshots/2/1/29d8dd25-c221-4bbc-bc8b-b89d37e362de","volume":{"uuid":"5d0bd6d7-4ebe-4fb6-98ad-5df52850e739","volumeType":"ROOT","dataStore":{"org.a
> pache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"e97b5727-d157-3dc1-b32c-065b99806623","id":1,"poolType":"NetworkFilesystem","host":"10.223.
> 110.232","path":"/export/home/sangeetha/campo-systemp-1/primary","port":2049}},"name":"ROOT-5","size":8589934592,"path":"86b8d3a8-44c9-4bb0-b4fb-1ba
> 98d3e4f75","volumeId":5,"vmName":"i-2-5-VM","accountId":2,"id":5},"dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.232/export/h
> ome/sangeetha/campo-systemp-1/secondary","_role":"Image"}},"vmName":"i-2-5-VM","name":"test-2_ROOT-5_20130514161859","hypervisorType":"XenServer","i
> d":1}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/203","uuid":"7f10ae7a-0e78-40ed-9b51-3a6a23c9dc66","id
> ":203,"format":"RAW","accountId":2,"hvm":true,"displayText":"template1","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.2
> 32/export/home/sangeetha/campo-systemp-1/secondary","_role":"Image"}},"name":"25860e266-0bd4-3eab-abe5-190cd2cafb8b"}},"wait":10800}}]
>  }
> 2013-05-14 09:32:37,151 DEBUG [cloud.api.ApiServlet] (catalina-exec-18: