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 9D1841115C for ; Thu, 17 Jul 2014 21:30:06 +0000 (UTC) Received: (qmail 11996 invoked by uid 500); 17 Jul 2014 21:30:06 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 11907 invoked by uid 500); 17 Jul 2014 21:30:06 -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 11810 invoked by uid 500); 17 Jul 2014 21:30:06 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 11791 invoked by uid 99); 17 Jul 2014 21:30:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2014 21:30:06 +0000 Date: Thu, 17 Jul 2014 21:30:05 +0000 (UTC) From: "Rayees Namathponnan (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-7123) [Automation] Guest VM templates failed to download with NPE in KVM basic zone 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-7123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rayees Namathponnan updated CLOUDSTACK-7123: -------------------------------------------- Attachment: CLOUDSTACK-7123.rar > [Automation] Guest VM templates failed to download with NPE in KVM basic zone > ----------------------------------------------------------------------------- > > Key: CLOUDSTACK-7123 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7123 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: KVM > Affects Versions: 4.5.0 > Environment: KVM basic zone > branch 4:5 > Reporter: Rayees Namathponnan > Assignee: edison su > Priority: Critical > Fix For: 4.5.0 > > Attachments: CLOUDSTACK-7123.rar > > > This issue is observed in automation environment; KVM basic zone > system vms created but guest vm templates failed to download with below error, observed NPE in SSVM logs, attaching with this mail > 2014-07-17 04:11:29,127 INFO [storage.template.DownloadManagerImpl] (pool-1-thread-1:null) Download Completion for jobId: b45fbdf7-3a55-4e0e-8e59-16adc234bcee, status=IN_PROGRESS > 2014-07-17 04:11:29,127 INFO [storage.template.DownloadManagerImpl] (pool-1-thread-1:null) local: /mnt/SecStorage/0e70a699-6420-35fc-9c0a-5ac0857423f1/template/tmpl/1/4/dnld218166405615108355tmp_, bytes=1117572, error= , pct=0 > 2014-07-17 04:11:29,127 INFO [storage.template.DownloadManagerImpl] (pool-1-thread-1:null) Resuming jobId: b45fbdf7-3a55-4e0e-8e59-16adc234bcee, status=IN_PROGRESS > 2014-07-17 04:11:29,128 WARN [storage.template.HttpTemplateDownloader] (pool-1-thread-1:null) Caught exception during download null > java.lang.NullPointerException > at org.apache.cloudstack.utils.template.TemplateUtils.checkTemplateFormat(TemplateUtils.java:40) > at com.cloud.storage.template.HttpTemplateDownloader.download(HttpTemplateDownloader.java:254) > at com.cloud.storage.template.HttpTemplateDownloader.runInContext(HttpTemplateDownloader.java:369) > at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) > at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) > at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) > at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) > at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:724) > 2014-07-17 04:11:47,033 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Request:Seq 4-9028872827947712522: { Cmd , MgmtId: 73187150500751, via: 4, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DownloadProgressCommand":{"jobId":"b45fbdf7-3a55-4e0e-8e59-16adc234bcee","request":"GET_STATUS","hvm":false,"description":"CentOS 5.5(64-bit) no GUI (KVM)","checksum":"ed0e788280ff2912ea40f7f91ca7a249","maxDownloadSizeInBytes":53687091200,"id":4,"resourceType":"TEMPLATE","installPath":"template/tmpl/1/4","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://nfs1-ccp.citrix.com:/home/common/automation/SC_QA_AUTO5/secondary1","_role":"Image"}},"url":"http://nfs1.lab.vmops.com/templates/regression_test/centos55-httpd-64bit.qcow2","format":"QCOW2","accountId":1,"name":"centos55-x86_64","secUrl":"nfs://nfs1-ccp.citrix.com:/home/common/automation/SC_QA_AUTO5/secondary1","wait":0}}] } > 2014-07-17 04:11:47,313 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: org.apache.cloudstack.storage.command.DownloadProgressCommand -- This message was sent by Atlassian JIRA (v6.2#6252)