Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 246E510B56 for ; Tue, 23 Jul 2013 23:42:50 +0000 (UTC) Received: (qmail 88974 invoked by uid 500); 23 Jul 2013 23:42:50 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 88958 invoked by uid 500); 23 Jul 2013 23:42:50 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 88950 invoked by uid 500); 23 Jul 2013 23:42:50 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 88947 invoked by uid 99); 23 Jul 2013 23:42:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 23:42:50 +0000 Date: Tue, 23 Jul 2013 23:42:49 +0000 (UTC) From: "edison su (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-3262) [ZWPS][VMWARE] exception while creating template from snapshot MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-3262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] edison su reassigned CLOUDSTACK-3262: ------------------------------------- Assignee: edison su (was: Venkata Siva Vijayendra Bhamidipati) > [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 > Assignee: edison su > 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