cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Min Chen <min.c...@citrix.com>
Subject Re: Template download fails in the latest master
Date Wed, 26 Jun 2013 18:21:38 GMT
Alena,

	I got latest master up to commit
c214b47764be02d773d1f4ace8ea7c8600e371a7, but could not reproduce this
issue. When ssvm is successfully up, template is starting download, here
is my log:

2013-06-26 11:13:42,481 INFO  [storage.image.TemplateServiceImpl]
(AgentConnectTaskPool-1:null) Template Sync did not find routing-3 on
image store 1, may request download based on available hypervisor types
2013-06-26 11:13:42,482 INFO  [storage.image.TemplateServiceImpl]
(AgentConnectTaskPool-1:null) Removing leftover template routing-3 entry
from template store table
2013-06-26 11:13:42,486 INFO  [storage.image.TemplateServiceImpl]
(AgentConnectTaskPool-1:null) Template Sync did not find routing-8 on
image store 1, may request download based on available hypervisor types
2013-06-26 11:13:42,487 INFO  [storage.image.TemplateServiceImpl]
(AgentConnectTaskPool-1:null) Removing leftover template routing-8 entry
from template store table
2013-06-26 11:13:42,490 INFO  [storage.image.TemplateServiceImpl]
(AgentConnectTaskPool-1:null) Template Sync did not find routing-9 on
image store 1, may request download based on available hypervisor types
2013-06-26 11:13:42,490 INFO  [storage.image.TemplateServiceImpl]
(AgentConnectTaskPool-1:null) Removing leftover template routing-9 entry
from template store table
2013-06-26 11:13:42,493 INFO  [storage.image.TemplateServiceImpl]
(AgentConnectTaskPool-1:null) Template Sync did not find routing-10 on
image store 1, may request download based on available hypervisor types
2013-06-26 11:13:42,493 INFO  [storage.image.TemplateServiceImpl]
(AgentConnectTaskPool-1:null) Removing leftover template routing-10 entry
from template store table
2013-06-26 11:13:42,495 INFO  [storage.image.TemplateServiceImpl]
(AgentConnectTaskPool-1:null) Downloading template centos56-x86_64-xen to
image store nfs://10.223.110.233/export/home/min/secondary
2013-06-26 11:13:42,535 DEBUG [agent.transport.Request]
(AgentConnectTaskPool-1:null) Seq 2-2012610566: Sending  { Cmd , MgmtId:
1, via: 2, Ver: v1, Flags: 100011,
[{"org.apache.cloudstack.storage.command.DownloadCommand":{"hvm":false,"des
cription":"CentOS 5.6(64-bit) no GUI
(XenServer)","checksum":"905cec879afd9c9d22ecc8036131a180","maxDownloadSize
InBytes":53687091200,"id":5,"resourceType":"TEMPLATE","installPath":"templa
te/tmpl/1/5","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.223
.110.233/export/home/min/secondary","_role":"Image"}},"url":"http://downloa
d.cloud.com/templates/builtin/centos56-x86_64.vhd.bz2","format":"VHD","acco
untId":1,"name":"centos56-x86_64-xen","secUrl":"nfs://10.223.110.233/export
/home/min/secondary","wait":0}}] }


	Thanks
	-min




On 6/26/13 10:09 AM, "Alena Prokharchyk" <Alena.Prokharchyk@citrix.com>
wrote:

>Template sync fails to download the default centos template in the latest
>master branch:
>
>2013-06-26 09:57:09,691 DEBUG [cloud.user.AccountManagerImpl]
>(AgentConnectTaskPool-3:null) Access granted to Acct[1-system] to
>Domain:1/ by DomainChecker_EnhancerByCloudStack_4f9daf02
>2013-06-26 09:57:09,702 INFO  [storage.image.TemplateServiceImpl]
>(AgentConnectTaskPool-3:null) Template Sync found routing-3 already in
>the image store
>2013-06-26 09:57:09,824 DEBUG [cloud.user.AccountManagerImpl]
>(AgentConnectTaskPool-3:null) Access granted to Acct[1-system] to
>Domain:1/ by DomainChecker_EnhancerByCloudStack_4f9daf02
>2013-06-26 09:57:09,842 INFO  [storage.image.TemplateServiceImpl]
>(AgentConnectTaskPool-3:null) Downloading template centos56-x86_64-xen to
>image store nfs://10.223.110.233/export/home/alena/secondary
>2013-06-26 09:57:09,868 DEBUG [agent.transport.Request]
>(StatsCollector-2:null) Seq 1-1993670671: Received:  { Ans: , MgmtId: 1,
>via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
>2013-06-26 09:57:09,892 DEBUG [storage.download.DownloadListener]
>(AgentConnectTaskPool-3:null) Send command failed
>java.lang.NullPointerException
>        at 
>com.cloud.hypervisor.HypervisorGuruManagerImpl.getGuruProcessedCommandTarg
>etHost(HypervisorGuruManagerImpl.java:64)
>        at 
>org.apache.cloudstack.storage.RemoteHostEndPoint.sendMessageAsync(RemoteHo
>stEndPoint.java:172)
>        at 
>com.cloud.storage.download.DownloadListener.sendCommand(DownloadListener.j
>ava:187)
>        at 
>com.cloud.storage.download.DownloadAbandonedState.onEntry(DownloadAbandone
>dState.java:43)
>        at 
>com.cloud.storage.download.DownloadListener.transition(DownloadListener.ja
>va:252)
>        at 
>com.cloud.storage.download.DownloadListener.abandon(DownloadListener.java:
>322)
>        at 
>com.cloud.storage.download.DownloadMonitorImpl.initiateTemplateDownload(Do
>wnloadMonitorImpl.java:195)
>        at 
>com.cloud.storage.download.DownloadMonitorImpl.downloadTemplateToStorage(D
>ownloadMonitorImpl.java:215)
>        at 
>org.apache.cloudstack.storage.image.BaseImageStoreDriverImpl.createAsync(B
>aseImageStoreDriverImpl.java:91)
>        at 
>org.apache.cloudstack.storage.image.TemplateServiceImpl.createTemplateAsyn
>c(TemplateServiceImpl.java:169)
>        at 
>org.apache.cloudstack.storage.image.TemplateServiceImpl.handleTemplateSync
>(TemplateServiceImpl.java:399)
>        at 
>com.cloud.storage.download.DownloadListener.processConnect(DownloadListene
>r.java:307)
>        at 
>com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentM
>anagerImpl.java:586)
>        at 
>com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManager
>Impl.java:1086)
>        at 
>com.cloud.agent.manager.AgentManagerImpl.access$100(AgentManagerImpl.java:
>144)
>        at 
>com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.run(AgentM
>anagerImpl.java:1161)
>        at 
>java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.
>java:886)
>        at 
>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
>:908)
>        at java.lang.Thread.run(Thread.java:680)
>
>Can anybody familiar with the new storage code, take a look at it?
>
>-Alena.


Mime
View raw message