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 4CC63108D1 for ; Wed, 6 Nov 2013 03:54:23 +0000 (UTC) Received: (qmail 84773 invoked by uid 500); 6 Nov 2013 03:54:21 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 84747 invoked by uid 500); 6 Nov 2013 03:54:20 -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 84711 invoked by uid 500); 6 Nov 2013 03:54:19 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 84697 invoked by uid 99); 6 Nov 2013 03:54:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 03:54:17 +0000 Date: Wed, 6 Nov 2013 03:54:17 +0000 (UTC) From: "Rayees Namathponnan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-5051) [Automation] vmware - Copy template to primary storage failed with NPE, and vm deployment failed 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-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rayees Namathponnan updated CLOUDSTACK-5051: -------------------------------------------- Summary: [Automation] vmware - Copy template to primary storage failed with NPE, and vm deployment failed (was: [Automation] vmware - Copy template to primary storage failed with NPE, an vm deployment failed ) > [Automation] vmware - Copy template to primary storage failed with NPE, and vm deployment failed > -------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-5051 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5051 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Template, VMware > Affects Versions: 4.3.0 > Environment: vmware 5.0 > build : master 4.3.0 > Reporter: Rayees Namathponnan > Fix For: 4.3.0 > > Attachments: CLOUDSTACK-5051.rar > > > steps to reproduce > create build from master branch, create advance zone, then deploy VM > Actual result > During router deployment, failed to copy template from primary storage and router deployment failed > observed below NPE in ms log > 2013-11-05 17:55:32,867 DEBUG [c.c.a.t.Request] (AgentManager-Handler-14:null) Seq 5-1852899341: Processing: { Ans: , MgmtId: 90928106758026, via: 5, Ver: v1, Flag > s: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"Unable to copy template to primary storage due to exception:Exception: jav > a.lang.NullPointerException\nMessage: null\n","wait":0}}] } > 2013-11-05 17:55:32,867 DEBUG [c.c.a.t.Request] (Job-Executor-2:ctx-7de85510 ctx-e51fa7a1) Seq 5-1852899341: Received: { Ans: , MgmtId: 90928106758026, via: 5, Ver > : v1, Flags: 10, { CopyCmdAnswer } } > 2013-11-05 17:55:32,878 INFO [o.a.c.s.v.VolumeServiceImpl] (Job-Executor-2:ctx-7de85510 ctx-e51fa7a1) releasing lock for VMTemplateStoragePool 4 > 2013-11-05 17:55:32,878 WARN [c.c.u.d.Merovingian2] (Job-Executor-2:ctx-7de85510 ctx-e51fa7a1) Was unable to find lock for the key template_spool_ref4 and thread i > d 2009240553 > 2013-11-05 17:55:32,879 DEBUG [o.a.c.e.o.VolumeOrchestrator] (Job-Executor-2:ctx-7de85510 ctx-e51fa7a1) Unable to create Vol[5|vm=6|ROOT]:Unable to copy template to > primary storage due to exception:Exception: java.lang.NullPointerException > Message: null > 2013-11-05 17:55:32,879 INFO [c.c.v.VirtualMachineManagerImpl] (Job-Executor-2:ctx-7de85510 ctx-e51fa7a1) Unable to contact resource. > com.cloud.exception.StorageUnavailableException: Resource [StoragePool:2] is unreachable: Unable to create Vol[5|vm=6|ROOT]:Unable to copy template to primary stora > ge due to exception:Exception: java.lang.NullPointerException > Message: null > at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1069) > at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1111) > at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:828) > at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:510) > at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:227) > at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209) > at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3409) > at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2990) > at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2976) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) > : -- This message was sent by Atlassian JIRA (v6.1#6144)