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 40E4610BA4 for ; Wed, 12 Jun 2013 10:28:22 +0000 (UTC) Received: (qmail 49344 invoked by uid 500); 12 Jun 2013 10:28:22 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 49060 invoked by uid 500); 12 Jun 2013 10:28:21 -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 49010 invoked by uid 500); 12 Jun 2013 10:28:21 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 49000 invoked by uid 99); 12 Jun 2013 10:28:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jun 2013 10:28:20 +0000 Date: Wed, 12 Jun 2013 10:28:20 +0000 (UTC) From: "Ram Ganesh (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-2385) template download fails with Unexpected failure in Vmware. 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-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681088#comment-13681088 ] Ram Ganesh commented on CLOUDSTACK-2385: ---------------------------------------- Kiran Can you please attach the entire mgmt log files for further investigation > template download fails with Unexpected failure in Vmware. > ---------------------------------------------------------- > > Key: CLOUDSTACK-2385 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2385 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Template > Affects Versions: 4.2.0 > Reporter: Kiran Koneti > Priority: Critical > Fix For: 4.2.0 > > > I registered a template with the parameters extractable=yes,Public=yes and Featured=yes. > Then later I tried to download the template from the UI. > It shows an error message in the UI as below:"PrepareExtractTemplate: Failed to create OVA for template extraction" > and in the management server log below are the error messages observed. > "2013-05-08 17:03:14,828 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===START=== 10.146.0.136 -- GET command=extractTemplate&mode=HTTP_DOWNLOAD&id=21e135aa-4df9-4818-b89c-99c64de5ee70&zoneid=58e1ce4d-fb5c-48c4-948f-408c969deae0&response=json&sessionkey=xrRnNHcHp3bh6nKU0gggxWRiioQ%3D&_=1367993227024 > 2013-05-08 17:03:14,865 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-4:null) submit async job-78, details: AsyncJobVO {id:78, userId: 2, accountId: 2, sessionKey: null, instanceType: Template, instanceId: 206, cmd: org.apache.cloudstack.api.command.user.template.ExtractTemplateCmd, cmdOriginator: null, cmdInfo: {"response":"json","id":"21e135aa-4df9-4818-b89c-99c64de5ee70","sessionkey":"xrRnNHcHp3bh6nKU0gggxWRiioQ\u003d","ctxUserId":"2","zoneid":"58e1ce4d-fb5c-48c4-948f-408c969deae0","httpmethod":"GET","_":"1367993227024","ctxAccountId":"2","ctxStartEventId":"322","mode":"HTTP_DOWNLOAD"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 6703101771911, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} > 2013-05-08 17:03:14,868 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===END=== 10.146.0.136 -- GET command=extractTemplate&mode=HTTP_DOWNLOAD&id=21e135aa-4df9-4818-b89c-99c64de5ee70&zoneid=58e1ce4d-fb5c-48c4-948f-408c969deae0&response=json&sessionkey=xrRnNHcHp3bh6nKU0gggxWRiioQ%3D&_=1367993227024 > 2013-05-08 17:03:14,872 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-26:job-78) Executing org.apache.cloudstack.api.command.user.template.ExtractTemplateCmd for job-78 > 2013-05-08 17:03:14,894 DEBUG [cloud.template.HypervisorTemplateAdapter] (Job-Executor-26:job-78) Failed to create OVA for template Tmpl[206-OVA-206-2-70244819-a3df-3daf-882c-c05c22c9645a due to zone non-existing. > 2013-05-08 17:03:14,905 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-26:job-78) Unexpected exception while executing org.apache.cloudstack.api.command.user.template.ExtractTemplateCmd > com.cloud.utils.exception.CloudRuntimeException: PrepareExtractTemplate: Failed to create OVA for template extraction. > at com.cloud.template.HypervisorTemplateAdapter.prepareExtractTemplate(HypervisorTemplateAdapter.java:263) > at com.cloud.template.TemplateManagerImpl.extract(TemplateManagerImpl.java:375) > at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > at org.apache.cloudstack.api.command.user.template.ExtractTemplateCmd.execute(ExtractTemplateCmd.java:128) > 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-05-08 17:03:14,907 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-26:job-78) Complete async job-78, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: PrepareExtractTemplate: Failed to create OVA for template extraction. > 2013-05-08 17:03:16,752 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-18:null) Ping from 5 > 2013-05-08 17:03:17,262 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-198:null) Ping from 1 > 2013-05-08 17:03:17,884 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) ===START=== 10.146.0.136 -- GET command=queryAsyncJobResult&jobId=847d337a-0f3c-4396-8d78-7efad2f9a7b2&response=json&sessionkey=xrRnNHcHp3bh6nKU0gggxWRiioQ%3D&_=1367993230129 > 2013-05-08 17:03:17,903 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-16:null) Async job-78 completed" -- 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