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

Animesh Chaturvedi updated CLOUDSTACK-3262:
-------------------------------------------


This issue has not been picked up, please review and see if you can help fix 
the issue
                
> [ZWPS][VMWARE] exception while creating template from snapshot
> --------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3262
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3262
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Template
>    Affects Versions: 4.2.0
>         Environment: VMWARE deployment, ESXI 5.1
>            Reporter: Srikanteswararao Talluri
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Steps to reproduce:
> ==============
> create a VM with its root volume on zone wide primary storage
> create  a snapshot of the root volume
> create a template from snaphot.
> ===START===  10.252.192.7 -- GET  
> command=createTemplate&response=json&sessionkey=ywi4cWnDQTL903lMXK6spFaF6U4%3D&snapshotid=8b9f5778-4788-4455-8e8a-db754e6634bb&name=t&displayText=t&osTypeId=f9a1c012-de74-11e2-b754-06e1a6000030&isPublic=true&passwordEnabled=false&_=1372403272346
> 2013-06-28 18:03:13,209 DEBUG [cloud.template.TemplateManagerImpl] 
> (catalina-exec-16:null) This template is getting created from other template, 
> setting source template Id to: 7
> 2013-06-28 18:03:13,299 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (catalina-exec-16:null) submit async job-91, details: AsyncJobVO {id:91, 
> userId: 2, accountId: 2, sessionKey: null, instanceType: Template, 
> instanceId: 209, cmd: 
> org.apache.cloudstack.api.command.user.template.CreateTemplateCmd, 
> cmdOriginator: null, cmdInfo: 
> {"sessionkey":"ywi4cWnDQTL903lMXK6spFaF6U4\u003d","ctxUserId":"2","httpmethod":"GET","osTypeId":"f9a1c012-de74-11e2-b754-06e1a6000030","isPublic":"true","response":"json","id":"209","displayText":"t","snapshotid":"8b9f5778-4788-4455-8e8a-db754e6634bb","passwordEnabled":"false","name":"t","_":"1372403272346","ctxAccountId":"2","ctxStartEventId":"324"},
>  cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
> processStatus: 0, resultCode: 0, result: null, initMsid: 7566222426160, 
> completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2013-06-28 18:03:13,306 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) 
> ===END===  10.252.192.7 -- GET  
> command=createTemplate&response=json&sessionkey=ywi4cWnDQTL903lMXK6spFaF6U4%3D&snapshotid=8b9f5778-4788-4455-8e8a-db754e6634bb&name=t&displayText=t&osTypeId=f9a1c012-de74-11e2-b754-06e1a6000030&isPublic=true&passwordEnabled=false&_=1372403272346
> 2013-06-28 18:03:13,308 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-41:job-91) Executing 
> org.apache.cloudstack.api.command.user.template.CreateTemplateCmd for job-91
> 2013-06-28 18:03:13,344 DEBUG [storage.image.ImageDataFactoryImpl] 
> (Job-Executor-41:job-91) template 209 is not in store:1, type:Image
> 2013-06-28 18:03:13,446 DEBUG [storage.motion.AncientDataMotionStrategy] 
> (Job-Executor-41:job-91) copy failed
> com.cloud.utils.exception.CloudRuntimeException: Unable to find storage pools 
> in zone 1
>       at 
> org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.createTemplateFromSnashot(AncientDataMotionStrategy.java:559)
>       at 
> org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsync(AncientDataMotionStrategy.java:486)
>       at 
> org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:59)
>       at 
> org.apache.cloudstack.storage.image.ImageServiceImpl.createTemplateFromSnapshotAsync(ImageServiceImpl.java:174)
>       at 
> com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1755)
>       at 
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>       at 
> org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:256)
>       at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>       at 
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>       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-06-28 18:03:13,460 DEBUG [cloud.template.TemplateManagerImpl] 
> (Job-Executor-41:job-91) Failed to create 
> templatecom.cloud.utils.exception.CloudRuntimeException: Unable to find 
> storage pools in zone 1
> 2013-06-28 18:03:13,488 ERROR [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-41:job-91) Unexpected exception while executing 
> org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to create 
> templatecom.cloud.utils.exception.CloudRuntimeException: Unable to find 
> storage pools in zone 1
>       at 
> com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1770)
>       at 
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>       at 
> org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:256)
>       at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>       at 
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>       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-06-28 18:03:13,490 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-41:job-91) Complete async job-91, jobStatus: 2, resultCode: 
> 530, result: Error Code: 530 Error text: Failed to create 
> templatecom.cloud.utils.exception.CloudRuntimeException: Unable to find 
> storage pools in zone 1

--
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

Reply via email to