You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rayees Namathponnan (JIRA)" <ji...@apache.org> on 2014/07/17 23:26:05 UTC

[jira] [Created] (CLOUDSTACK-7123) [Automation] Guest VM templates failed to download with NPE in KVM basic zone

Rayees Namathponnan created CLOUDSTACK-7123:
-----------------------------------------------

             Summary: [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


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)