cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Mada (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-3577) NPE while downloading the template to secondary storage
Date Wed, 17 Jul 2013 05:10:48 GMT
Sailaja Mada created CLOUDSTACK-3577:
----------------------------------------

             Summary: NPE while downloading the template to secondary storage 
                 Key: CLOUDSTACK-3577
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3577
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Storage Controller, VMware
    Affects Versions: 4.2.0
            Reporter: Sailaja Mada


Steps:

1. Adv zone with VMWARE  2. Register 4 new templates 
2. Put the host into maintenance and later cancel the maintenance 
3. During this SSVM got restarted (Template download got re-initiated again - Its a different
bug ) 
4. Tried to deploy VM during this.  

NPE is observed while downloading the template to Secondary storage.

2013-07-17 10:20:06,997 INFO  [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-5:null)
Template Sync did not find 203-2-46b4c9b9-0f66-31d5-bc0a-cecf56777ea5 on image store 1, may
request download based on available hypervisor types
2013-07-17 10:20:06,997 INFO  [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-5:null)
Removing leftover template 203-2-46b4c9b9-0f66-31d5-bc0a-cecf56777ea5 entry from template
store table
2013-07-17 10:20:07,006 INFO  [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-5:null)
Template Sync did not find 204-2-b97aafbb-8026-3eb6-812a-729e9674161d on image store 1, may
request download based on available hypervisor types
2013-07-17 10:20:07,007 INFO  [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-5:null)
Removing leftover template 204-2-b97aafbb-8026-3eb6-812a-729e9674161d entry from template
store table
2013-07-17 10:20:07,022 INFO  [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-5:null)
Template Sync did not find 205-2-68265884-20aa-3cfa-bd72-14ed8d5dacfe on image store 1, may
request download based on available hypervisor types
2013-07-17 10:20:07,022 INFO  [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-5:null)
Removing leftover template 205-2-68265884-20aa-3cfa-bd72-14ed8d5dacfe entry from template
store table
2013-07-17 10:20:07,045 INFO  [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-5:null)
Downloading template 205-2-68265884-20aa-3cfa-bd72-14ed8d5dacfe to image store ss1
2013-07-17 10:20:07,438 DEBUG [agent.transport.Request] (AgentConnectTaskPool-5:null) Seq
5-346816518: Sending  { Cmd , MgmtId: 187767034175903, via: 5, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DownloadCommand":{"hvm":true,"description":"clouddev","checksum":"e9a35b53ac5b12c1ee6ebd751bd87d92","maxDownloadSizeInBytes":53687091200,"id":205,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/205","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.102.192.100/cpg_vol/sailaja/vmwaress1","_role":"Image"}},"url":"http://10.147.28.7/templates/clouddev.ova","format":"OVA","accountId":2,"name":"205-2-68265884-20aa-3cfa-bd72-14ed8d5dacfe","secUrl":"nfs://10.102.192.100/cpg_vol/sailaja/vmwaress1","wait":0}}]
}
2013-07-17 10:20:07,439 INFO  [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-5:null)
Downloading template 204-2-b97aafbb-8026-3eb6-812a-729e9674161d to image store ss1
2013-07-17 10:20:07,510 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===START=== 
10.144.6.19 -- GET  command=queryAsyncJobResult&jobId=98d8d8f0-f2d0-43c4-98b4-0b6d19ee5e5c&response=json&sessionkey=RvXLQymN2rB4PjLMFSFIjie8gEw%3D&_=1374036821239
2013-07-17 10:20:07,538 DEBUG [agent.transport.Request] (AgentConnectTaskPool-5:null) Seq
5-346816519: Sending  { Cmd , MgmtId: 187767034175903, via: 5, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DownloadCommand":{"hvm":true,"description":"CentOS5.3","checksum":"f6f881b7f2292948d8494db837fe0f47","maxDownloadSizeInBytes":53687091200,"id":204,"resourceType":"TEMPLATE","installPath":"template/tmpl/2/204","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.102.192.100/cpg_vol/sailaja/vmwaress1","_role":"Image"}},"url":"http://10.147.28.7/templates/vmware/CentOS5.3-x86_64.ova","format":"OVA","accountId":2,"name":"204-2-b97aafbb-8026-3eb6-812a-729e9674161d","secUrl":"nfs://10.102.192.100/cpg_vol/sailaja/vmwaress1","wait":0}}]
}
2013-07-17 10:20:07,539 INFO  [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-5:null)
Downloading template centos53-x64 to image store ss1
2013-07-17 10:20:07,560 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===END===  10.144.6.19
-- GET  command=queryAsyncJobResult&jobId=98d8d8f0-f2d0-43c4-98b4-0b6d19ee5e5c&response=json&sessionkey=RvXLQymN2rB4PjLMFSFIjie8gEw%3D&_=1374036821239
2013-07-17 10:20:07,682 DEBUG [storage.download.DownloadListener] (AgentConnectTaskPool-5:null)
Send command failed
java.lang.NullPointerException
        at com.cloud.hypervisor.HypervisorGuruManagerImpl.getGuruProcessedCommandTargetHost(HypervisorGuruManagerImpl.java:64)
        at org.apache.cloudstack.storage.RemoteHostEndPoint.sendMessageAsync(RemoteHostEndPoint.java:172)
        at com.cloud.storage.download.DownloadListener.sendCommand(DownloadListener.java:187)
        at com.cloud.storage.download.DownloadAbandonedState.onEntry(DownloadAbandonedState.java:43)
        at com.cloud.storage.download.DownloadListener.transition(DownloadListener.java:252)
        at com.cloud.storage.download.DownloadListener.abandon(DownloadListener.java:322)
        at com.cloud.storage.download.DownloadMonitorImpl.initiateTemplateDownload(DownloadMonitorImpl.java:195)
        at com.cloud.storage.download.DownloadMonitorImpl.downloadTemplateToStorage(DownloadMonitorImpl.java:215)
        at org.apache.cloudstack.storage.image.BaseImageStoreDriverImpl.createAsync(BaseImageStoreDriverImpl.java:116)
        at org.apache.cloudstack.storage.image.TemplateServiceImpl.createTemplateAsync(TemplateServiceImpl.java:173)
        at org.apache.cloudstack.storage.image.TemplateServiceImpl.handleTemplateSync(TemplateServiceImpl.java:405)
        at com.cloud.storage.download.DownloadListener.processConnect(DownloadListener.java:307)
        at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:586)
        at com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:1086)
        at com.cloud.agent.manager.AgentManagerImpl.access$100(AgentManagerImpl.java:144)
        at com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.run(AgentManagerImpl.java:1161)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-07-17 10:20:07,687 DEBUG [agent.transport.Request] (AgentConnectTaskPool-5:null) Seq
5-346816520: Sending  { Cmd , MgmtId: 187767034175903, via: 5, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DownloadCommand":{"hvm":false,"description":"CentOS
5.3(64-bit) no GUI (vSphere)","checksum":"f6f881b7f2292948d8494db837fe0f47","maxDownloadSizeInBytes":53687091200,"id":7,"resourceType":"TEMPLATE","installPath":"template/tmpl/1/7","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.102.192.100/cpg_vol/sailaja/vmwaress1","_role":"Image"}},"url":"http://download.cloud.com/releases/2.2.0/CentOS5.3-x86_64.ova","format":"OVA","accountId":1,"name":"centos53-x64","secUrl":"nfs://10.102.192.100/cpg_vol/sailaja/vmwaress1","wait":0}}]
}
2013-07-17 10:20:07,691 INFO  [storage.image.TemplateServiceImpl] (AgentConnectTaskPool-5:null)
Downloading template 203-2-46b4c9b9-0f66-31d5-bc0a-cecf56777ea5 to image store ss1





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message