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 83C521005C for ; Fri, 3 Jan 2014 18:36:13 +0000 (UTC) Received: (qmail 72662 invoked by uid 500); 3 Jan 2014 18:36:04 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 72565 invoked by uid 500); 3 Jan 2014 18:35:58 -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 72479 invoked by uid 500); 3 Jan 2014 18:35:56 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 72445 invoked by uid 99); 3 Jan 2014 18:35:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 18:35:54 +0000 Date: Fri, 3 Jan 2014 18:35:54 +0000 (UTC) From: "Nitin Mehta (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-5138) [Automation] NPE while create template from snapshot MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-5138?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nitin Mehta resolved CLOUDSTACK-5138. ------------------------------------- Resolution: Cannot Reproduce Cannot reproduce this in 4.3 so closing it based on Talluri's comment. > [Automation] NPE while create template from snapshot > ---------------------------------------------------- > > Key: CLOUDSTACK-5138 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-513= 8 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Template > Affects Versions: 4.2.1 > Reporter: Srikanteswararao Talluri > Assignee: Nitin Mehta > Fix For: 4.3.0 > > > create a template from snapshot > Following exception is observed: > Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'F= ailed to create templatejava.lang.NullPointerException\n\tat java.lang.Proc= essBuilder.start(ProcessBuilder.java:457)\n\tat com.cloud.utils.script.Scri= pt.execute(Script.java:183)\n\tat com.cloud.utils.script.Script.execute(Scr= ipt.java:161)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStor= ageResource.copySnapshotToTemplateFromNfsToNfsXenserver(NfsSecondaryStorage= Resource.java:365)\n\tat org.apache.cloudstack.storage.resource.NfsSecondar= yStorageResource.copySnapshotToTemplateFromNfsToNfs(NfsSecondaryStorageReso= urce.java:408)\n\tat org.apache.cloudstack.storage.resource.NfsSecondarySto= rageResource.createTemplateFromSnapshot(NfsSecondaryStorageResource.java:50= 9)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource= .execute(NfsSecondaryStorageResource.java:588)\n\tat org.apache.cloudstack.= storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondarySto= rageResource.java:201)\n\tat org.apache.cloudstack.storage.resource.LocalNf= sSecondaryStorageResource.executeRequest(LocalNfsSecondaryStorageResource.j= ava:76)\n\tat org.apache.cloudstack.storage.LocalHostEndpoint.sendMessage(L= ocalHostEndpoint.java:93)\n\tat org.apache.cloudstack.storage.motion.Ancien= tDataMotionStrategy.createTemplateFromSnapshot(AncientDataMotionStrategy.ja= va:429)\n\tat org.apache.cloudstack.storage.motion.AncientDataMotionStrateg= y.copyAsync(AncientDataMotionStrategy.java:382)\n\tat org.apache.cloudstack= .storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:= 58)\n\tat org.apache.cloudstack.storage.image.TemplateServiceImpl.copyAsync= (TemplateServiceImpl.java:594)\n\tat org.apache.cloudstack.storage.image.Te= mplateServiceImpl.createTemplateFromSnapshotAsync(TemplateServiceImpl.java:= 601)\n\tat com.cloud.template.TemplateManagerImpl.createPrivateTemplate(Tem= plateManagerImpl.java:1382)\n\tat com.cloud.template.TemplateManagerImpl_En= hancerByCloudStack_c9e35bba.CGLIB$createPrivateTemplate$32()\n\t= at com.cloud.template.TemplateManagerImpl_EnhancerByCloudStack_c9e35bba_Fas= tClassByCloudStack_d12ad427.invoke()\n\tat net.sf.cglib.proxy.Me= thodProxy.invokeSuper(MethodProxy.java:228)\n\tat com.cloud.utils.component= .ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(Compon= entInstantiationPostProcessor.java:125)\n\tat com.cloud.template.TemplateMa= nagerImpl_EnhancerByCloudStack_c9e35bba.createPrivateTemplate()\= n\tat org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.exe= cute(CreateTemplateCmd.java:263)\n\tat com.cloud.api.ApiDispatcher.dispatch= (ApiDispatcher.java:158)\n\tat com.cloud.async.AsyncJobManagerImpl$1.run(As= yncJobManagerImpl.java:531)\n\tat java.util.concurrent.Executors$RunnableAd= apter.call(Executors.java:471)\n\tat java.util.concurrent.FutureTask$Sync.i= nnerRun(FutureTask.java:334)\n\tat java.util.concurrent.FutureTask.run(Futu= reTask.java:166)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Th= readPoolExecutor.java:1110)\n\tat java.util.concurrent.ThreadPoolExecutor$W= orker.run(ThreadPoolExecutor.java:603)\n\tat java.lang.Thread.run(Thread.ja= va:679)\n'} -- This message was sent by Atlassian JIRA (v6.1.5#6160)