Srikanteswararao Talluri created CLOUDSTACK-5138: ----------------------------------------------------
Summary: [Automation] NPE while create template from snapshot Key: CLOUDSTACK-5138 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5138 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Template Affects Versions: 4.2.1 Reporter: Srikanteswararao Talluri Priority: Critical Fix For: 4.2.1 create a template from snapshot Following exception is observed: Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'Failed to create templatejava.lang.NullPointerException\n\tat java.lang.ProcessBuilder.start(ProcessBuilder.java:457)\n\tat com.cloud.utils.script.Script.execute(Script.java:183)\n\tat com.cloud.utils.script.Script.execute(Script.java:161)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfsXenserver(NfsSecondaryStorageResource.java:365)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfs(NfsSecondaryStorageResource.java:408)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.createTemplateFromSnapshot(NfsSecondaryStorageResource.java:509)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:588)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:201)\n\tat org.apache.cloudstack.storage.resource.LocalNfsSecondaryStorageResource.executeRequest(LocalNfsSecondaryStorageResource.java:76)\n\tat org.apache.cloudstack.storage.LocalHostEndpoint.sendMessage(LocalHostEndpoint.java:93)\n\tat org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.createTemplateFromSnapshot(AncientDataMotionStrategy.java:429)\n\tat org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.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.TemplateServiceImpl.createTemplateFromSnapshotAsync(TemplateServiceImpl.java:601)\n\tat com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1382)\n\tat com.cloud.template.TemplateManagerImpl_EnhancerByCloudStack_c9e35bba.CGLIB$createPrivateTemplate$32(<generated>)\n\tat com.cloud.template.TemplateManagerImpl_EnhancerByCloudStack_c9e35bba_FastClassByCloudStack_d12ad427.invoke(<generated>)\n\tat net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)\n\tat com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)\n\tat com.cloud.template.TemplateManagerImpl_EnhancerByCloudStack_c9e35bba.createPrivateTemplate(<generated>)\n\tat org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:263)\n\tat com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)\n\tat com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n\tat java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:166)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\n\tat java.lang.Thread.run(Thread.java:679)\n'} -- This message was sent by Atlassian JIRA (v6.1#6144)